Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

NiFi: Pivot: Columns to Rows

avatar
New Member

Hello All,

How can I pivot record based data from columns to rows.

Here is an example of what I want to achieve:

Input:

A,B,C

M,N,O

Output:

A,B

A,C

M,N

M,O

Thanks!!

1 ACCEPTED SOLUTION

avatar
Guru

Hi @M R

I don't believe there is an existing NiFi processor to transpose rows to columns. You would likely have to write your own script to do this, and invoke it via the NiFi processor ExecuteScript.

View solution in original post

2 REPLIES 2

avatar
Guru

Hi @M R

I don't believe there is an existing NiFi processor to transpose rows to columns. You would likely have to write your own script to do this, and invoke it via the NiFi processor ExecuteScript.

avatar
New Member

Thanks Sonu