I have following scenario with apache-nifi
Flowfile1 :
id,name
1,sachith
2,nalaka
3,muha
Flowfile2:
id,email
1,sachith@email.com
2,nalaka@email.com
After merging these two flowfiles, result should be :
id,name,email
1,sachith,sachith@email.com
2,nalaka,nalaka@email.com
3,muha,
Here most important part is that, 3,muha,
row should be there with email
field empty.
I have refered Merge two JSON flowfile together in NiFi, which is very similar to my problem. But not with adding empty value for the row.
How to join two CSVs with Apache Nifi
For now I have tried with MergeContent
processor, but it appends two flowfiles. Not adding as new columns with unique id.
Very similar question here,Merge two schemas into one in Apache nifi, but it doesn't have much details.