Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Tobi1
Contributor
Contributor

Generate Talend metadata objects automatically

Hello,

our situation is the followin: We are retrieving a lot of data from a REST service, which we want to write to a database. In order to be able to write the data to a database, we need to create metadata in Talend (data type, length, precision and so on). This information cannot be retrieved from the JSON response of the REST service, but the information ist provided in a Excel file listing all tables with their fields, data types, length and precision. 

As I do not want to create all metadata objects by hand as this would be tedious for about 80 tables with each 50-100+ columns. I was wondering, if anybody has an idea how to automatically create Talend metadata objects for those tables?

I already had a look at an exported metadata object, but with all the IDs and project files in the export, I am not confident, that that would work.

 

Any help or experience in this are would be really much appreciated.

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

if you define your target DB connection under Metadata->db connections, you can have talend automatically create schema's for all the tables: 

 

0683p000009LxzE.png

View solution in original post

2 Replies
Anonymous
Not applicable

if you define your target DB connection under Metadata->db connections, you can have talend automatically create schema's for all the tables: 

 

0683p000009LxzE.png

Tobi1
Contributor
Contributor
Author

Hi JGM,
Thank you that is a very easy and good solution to my problem. I was just fixed in the idea to create file related metadata that I did not think of creating sql scripts to create tables and retrieving the schema then.
I will try that out next week.
Have a nice weekend thanks again.