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.

NiFi create multiple new records based on value

NiFi create multiple new records based on value

New Contributor

We have a CSV file that looks like something;

Num_Ordered,Type,Something_else,etc..
3,Dongle,foo,bar
2,widget,bar,bar

We need to create 3 records for the first record, and then create 2 records for the second record;

Type,something,else
dongle,foo,bar
dongle,foo,bar
dongle,foo,bar
widget,bar,bar
widget,bar,bar

Is there any way to generate new records in UpdateRecord based on record path to replace the current records?

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