File delimited Metadata/Schema - Data Types

Highlighted
Four Stars

File delimited Metadata/Schema - Data Types

Hi!

I'm very new to Talend (Talend Open Studio for Data Integration 7.0.1). Hoping to use it to simply move data from a delimited text file to a SQL Server database.

 

My issue is when creating the Metadata for the "File delimited", I'm wanting Talend to NOT determine the data type (Step 4 of 4 - Define the Schema in the wizard). I'm wanting everything to be "Strings".


Instead it appears to be determining what the type should be - and is causing me issues later when I map the data. I understand I can go one-by-one and change each one on that screen (Step 4 of 4), but I'm talking very many files, with hundreds of fields in each.

 

Is there a setting or something I can set to make all the fields in my File delimited schema to be defined as "Strings" ?

 

Thanks in advance!


Accepted Solutions
Highlighted
Sixteen Stars
Sixteen Stars

Re: File delimited Metadata/Schema - Data Types

What if you set the limit to 1 on step 3 of 4?
Else, using files with just the header line should work.

TRF

View solution in original post


All Replies
Highlighted
Sixteen Stars
Sixteen Stars

Re: File delimited Metadata/Schema - Data Types

What if you set the limit to 1 on step 3 of 4?
Else, using files with just the header line should work.

TRF

View solution in original post

Highlighted
Four Stars

Re: File delimited Metadata/Schema - Data Types

Hi TRF - 

 

Using the file with just the headers (and then putting the data back afterwards) - worked.  Not the perfect solution - but it does work!  Thank you!!

 

 

Highlighted
Sixteen Stars
Sixteen Stars

Re: File delimited Metadata/Schema - Data Types

Great!
Don't forget to mark your case as solved.

TRF

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog