Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
lcupito
Contributor
Contributor

How to manage Dynamic Files

Hi everyone,

I have a problem with dynamic files. Each time they are loaded with extra columns (in random order and not at the end). How can I create a job where at the end it gives me the file with the original pattern?

E.g. the loaded file could be column1, column2, column6, column3, column7, column4, column5 and the schema should be

column1, column2, column3, column4, column5

Thank you

Labels (4)
2 Replies
Anonymous
Not applicable

Hello,

 

I'd start by using dynamic schema then get the column value based on its name. Maybe these examples are helpful for it: https://jira.talendforge.org/browse/TDI-48091

Anonymous
Not applicable

Hi

 

Read the file using dynamic schema, and then extract the required fields using tExtractDynamicFields component.

 

Regards

Shong