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

merging attributes in nifi flows?

merging attributes in nifi flows?

I have to create sql query from results of rest call (InvokeHttp ) and original request parameters...Any idea how i can merge attributes from both in single flowfile for passing it to "ReplaceText"? If I pass both "Original" and "Result" from "InvokeHttp" to "ReplaceText" I end up with one "valid" flowfile using attributes from both and one "junk" one with empty placeholders... If I try use "MergeContent" to merge flows I end up only with junk only like the following

update joint_table set create_date = 1540321085127, filter = '', data_start_time =+ 1532016495 - , execute_date = 1532016495 + where id = '1749462c-ed2b-4a34-9332-3687a60c1e1c'

Thank you

Don't have an account?
Coming from Hortonworks? Activate your account here