Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
abhinav5
Contributor
Contributor

How to skip additional in csv file if additional columns are not present in metadata

I have csv file in below format

ID|StringField|IntegerField|StringField1|DateField

1|test|1|test1|2021-02-12 12:11:50

2|test2|21|test21|2021-02-12 12:11:50

If file schema has changed and some columns are added in Between as below-

ID|StringField

|StringField2

|IntegerField|StringField1|DateField

1|test|test2|1|test1|2021-02-12 12:11:50

How we can skip StringField2 coulmn. Talend job throw below error-

Details: java.lang.NumberFormatException: For input string: "test"

Labels (3)
2 Replies
Prakhar1
Creator III
Creator III

You should remove the column manually then.

If you want to read that column, then you can use dynamic schema which dynamically reads all the columns from file.

abhinav5
Contributor
Contributor
Author

thanks for reply