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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to pass the metadata(table definition) dynamically to a job

Hi,
I need to create a generic job to get data from a file and load to table. However the number of fields may differ in the files but Can i pass the metadata dynamically to the job in all stages.
Thanks,
Vishu
Labels (2)
3 Replies
Anonymous
Not applicable
Author

I think you are looking for the dynamic schema feature, you are able to access the metadata information and update it during the runtime, see
https://community.talend.com/t5/Design-and-Development/resolved-Generic-Talend-Job/td-p/92354
Best regards
Shong
Anonymous
Not applicable
Author

Thanks! Shong
Is it possible that i give the metadata file name to job as parameter and it uses the same metadata file from repository?
Thanks,
Vishal Gupta
Anonymous
Not applicable
Author

Hi
Metadata file doesn't support context variable, you have to select the file path when defining the file metadata, however, you can use context variable to set the file path on file components with built-in property.
Best regards
Shong