Dynamic database to database job Open Studio

Four Stars

Dynamic database to database job Open Studio

Hi,

 

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.

 

Job Inputs;

  • Source SQL (Select)
  • Corresponding schema definition
  • Target schema and table names

 

Thank you in advance!

Richard

Eight Stars

Re: Dynamic database to database job Open Studio

I've never done this before, actually commenting to get updates from this thread, but I guess this is a use case of the "SQL Templates" in the Repository View.

regards,
Navds

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download