Teradata warning: Implicit conversion from source type

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
akonda
Participant
Posts: 97
Joined: Wed Feb 28, 2007 6:15 am

Teradata warning: Implicit conversion from source type

Post by akonda »

Hi Guys,

I'm getting the below warning when I'm trying to read the data from Teradata using Teradata Connector stage. Any idea on how to get rid of this warning?


When checking operator: When binding output interface field "SRC_ID" to field "SRC_ID": Implicit conversion from source type "ustring[max=20]" to result type "string[max=20]": Possible truncation of variable length ustring when converting to string using codepage UTF-8.

[Note: Title changed to be more descriptive - Andy]
arun
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Teradata is using some kind of Unicode encoding (such as UTF-8). Your job is specifying VarChar(20) but is not specifying Unicode in the Extended column of the Columns grid.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
akonda
Participant
Posts: 97
Joined: Wed Feb 28, 2007 6:15 am

Post by akonda »

If I specify Unicode its throwing below warning. Any thoughts ?

"Conversion from UTF-8 character set to UTF-16LE may affect performance."
arun
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Why do you not specify the same encoding (UTF-8) that Teradata is using?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
akonda
Participant
Posts: 97
Joined: Wed Feb 28, 2007 6:15 am

Post by akonda »

It is specified to UTF-8 in teradata connector stage and also project default one is UTF-8. Still this warning is occuring.
arun
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Your job or stage appears to be using UTF-16LE.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply