You can use the ExecuteScript processor to have Python or another language 
perform column transposition. Here is a more complete answer with some caveats 
and further discussion [1].

[1] https://stackoverflow.com/a/42639228/70465

Andy LoPresto
alopre...@apache.org
alopresto.apa...@gmail.com
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

> On Aug 10, 2017, at 9:43 AM, mayank rathi <mayank.ra...@gmail.com> wrote:
> 
> 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!!
> 
> 
> 
> --
> NOTICE: This email message is for the sole use of the intended recipient(s) 
> and may contain confidential and privileged information. Any unauthorized 
> review, use, disclosure or distribution is prohibited. If you are not the 
> intended recipient, please contact the sender by reply email and destroy all 
> copies of the original message.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to