• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tDBInput - Data Truncation on Oracle?

#1 2008-01-29 15:19:46

headjoog
Member
Registered: 2007-10-24
Posts: 11

tDBInput - Data Truncation on Oracle?

I have an ODBC connection set up to Oracle.  This connection can be used by Excel to retrieve data with no problem.  However, when I attempt to use the tDBInput connection in Talend, my data is truncated.  For example, I have the following columns with the Oracle datatypes:

CurrentPeriod - char(6)
CurrentProductYear - char(6)
ProductCode - char(5)

I set these to "character" types in TOS (ver 2.2.0GA_r6191).  When I run the query, I get these results from tLogRow:

2|2|M
2|2|M
2|2|M
2|2|M
2|2|M

The data appears to be truncated.  I have tried both "String" and "Character" types in Talend and changed the length settings in the schema.  Any ideas on this?

Thanks - headjoog

Offline

#2 2008-01-29 18:35:07

mhirt
Talend team
Registered: 2006-09-19
Posts: 1633

Re: tDBInput - Data Truncation on Oracle?

Hello,


The Character is a very specific type for single Character.
You have to use String in your schema.

Regards,

Offline

#3 2008-01-29 19:13:26

headjoog
Member
Registered: 2007-10-24
Posts: 11

Re: tDBInput - Data Truncation on Oracle?

Tried "String" as well and got the same results.

Offline

#4 2008-01-29 19:22:47

headjoog
Member
Registered: 2007-10-24
Posts: 11

Re: tDBInput - Data Truncation on Oracle?

Ooops - didn't have String on one of the cols after all....sorry about that and thanks for the heads up!

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tDBInput - Data Truncation on Oracle?

Board footer

Powered by FluxBB