Support Questions

Find answers, ask questions, and share your expertise

nifi dsl: breaking a record into multiple records

avatar
Expert Contributor

I have records with following structure:

{

   field1 : val1

  field2: val2

  fields3:  x::y::z

  field4: a::b::c

 .....

}

field3 and field4 are basically pairs..ie x is paired with a, y with b, z with c.

I want to break this record to reflect above pairing. So it would result in 3 records, with first one having field3 as x and field4 as a, second record having field3 as y and field4 as b and so on.

Can it be achieved with nifi dsl?

 

1 REPLY 1

avatar
Expert Contributor

Please ignore this question. My understanding of the problem itself was wrong.