Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-07-2017 01:07 PM
Hi,
I want to do something like this
SELECT * FROM FLOWFILE WHERE Gender = '${gender}'
Need Help. Thanks
Created 12-07-2017 08:38 PM
You should be able to do exactly what you showed with ${gender} as long as your incoming flow files have an attribute called gender. You would have to create that attribute before QueryRecord by using UpdateAttribute or by using a processor that extracts something from the content of the flow into an attribute called gender.
Created 12-07-2017 01:09 PM
If I do -> SELECT * FROM FLOWFILE WHERE Gender = 'Male', It works
Created 12-07-2017 08:38 PM
You should be able to do exactly what you showed with ${gender} as long as your incoming flow files have an attribute called gender. You would have to create that attribute before QueryRecord by using UpdateAttribute or by using a processor that extracts something from the content of the flow into an attribute called gender.
Created 12-12-2017 08:37 AM
Thnks Bryan