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

Rename Column-Names using a Excel-File

Hi there,
im quite new to Talend Open Stuido for Data Integration, so please be gentle if my question is too simple. 0683p000009MACn.png I did some searching, but didnt find an answer... but maybe I just didnt use the right terms for that.
I have a csv-file with some cryptic column names (at least the cryptic names stay the same all the time and dont chance position) and want to import the file into a mysql database. Renaming the column names with a tMap does work, the import into mySQL works too.

Now I want to enter the cryptic names into a excel-file and write some more readable names behind them. Is it possible for Talend to read the excel-file and rename the columns based on the values in the file?

For example:

CSV-Column-Names:
"FN00X", "LN20X", "foobarname"

Excel-file:
"FN00X", "Firstname";
"LN20X", "Lastname";
"foobarname", "Randomtext";

Mysql-Table-ColumnNames:
"Firstname", "Lastname", "Randomtext"


Thanks for any hints in advance. 0683p000009MACn.png
Johmi

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hello 
The schema must be defined before the job execution, so it impossible to change it at run time.
Regards
Shong