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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tMysqlBulkExec component

Hi All,
I have to load text files from Amazon server to Aurora DB. For this we are using tMysqlBulkExec component, which directly fetches files form server and load in DB as we don't have to perform any transformation.
But I am not able to find any option to exclude header row while loading data from .txt file to DB in this component.
Please help. 0683p000009MACn.png
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I have taken a look into the description of the import command and there is a useful option to skip lines at the start.
I will create an update to this component but meanwhile you can build the import command for yourself and  run it in a tMysqlRow component.
Here the description:
http://dev.mysql.com/doc/refman/5.7/en/load-data.html

View solution in original post

4 Replies
Anonymous
Not applicable
Author

The problem here is not Talend, the problem here is the bulk loaded from MySQL. This bulk loaded simple does not expect a header row.
Talend has no chance to avoid that problem. Simply take care your file has no header row or remove it!
Anonymous
Not applicable
Author

Thanks jlolling, but these files will be provided to us and we have to load them instantly in DB. So we can't process them, there can be a way in component to avoid header rows.
Anonymous
Not applicable
Author

I have taken a look into the description of the import command and there is a useful option to skip lines at the start.
I will create an update to this component but meanwhile you can build the import command for yourself and  run it in a tMysqlRow component.
Here the description:
http://dev.mysql.com/doc/refman/5.7/en/load-data.html
Anonymous
Not applicable
Author

Thanks! and please let me know when you will be done with component update.