Method to shuffle row of data within the tFileInput

One Star

Method to shuffle row of data within the tFileInput

I need to generate a output in talend such that it would randomly shuffle the set of data within the same column, from a normal csv file input. To illustrate, the original input file structure would be like this:
1  2  3  4
A  A  A  A
B  B  B  B
C  C  C  C
And output would become something like this:
1  2  3  4
A  B  A  C
B  C  C  A
C  A  B  B
I wonder if there's exact function or talend models from couple different functions. Much appreciated with any thoughts.
Moderator

Re: Method to shuffle row of data within the tFileInput

Hi,
Here is a new feature jira issue about tDataShuffling component which allows to rearrange the data through the rows in the same column.
https://jira.talendforge.org/browse/TDQ-11963
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.