I would like to create a Talend job that can take a SQL statement, schema definition and run that SQL and use the schema definition provided (by file/context variable) to populate a target table. The job can be for specific database types like moving from DB2 to MySQL or MySQL to BigQuery. The following are the inputs I would like to use, however I am unable to find a way to load a schema into the job without having to specify at design time. Does anyone know how to do this in Open Studio for Data Integration (without some of the enterprise dynamic components).
I can specify the 'generic' schema in XML and import that as metadata, but it seems this can only be done at design time? I would like to load in the generic schema dynamically at runtime as I can the select, schema and table names using context variables.
Thank you in advance!
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema