Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Using the content of a flow file as SQL parameter

Using the content of a flow file as SQL parameter

Explorer

Hi,

 

I'm sending requests via ListenHttp, for example
"curl -X POST --data myschema.mytable http://localhost:44221/contentListener"

how can I then use that in my DB query?

I want to execute in my DB "select * from myschema.mytable"

2 REPLIES 2

Re: Using the content of a flow file as SQL parameter

Explorer

whats up with this forum? no one can answer this simple question?

Highlighted

Re: Using the content of a flow file as SQL parameter

Community Manager

Hi @xtrim. The Cloudera Community is primarily a Peer to Peer forum so answers depend upon member availability, knowledge and how well written and labeled the question is. It looks like a similar question on Stack Overflow with the NiFi label attached and received a reply. I hope it helps.

 

I've also updated your post to add the Apache NiFi label. 



Cy Jervis, Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:
Community Guidelines
How to use the forum
Don't have an account?
Coming from Hortonworks? Activate your account here