Page 1 of 1

loading float value

Posted: Fri Mar 14, 2008 6:16 am
by IBMDS
I am extracting data from sequential file and load into Teradata table, In table one column datatype is 'float'. Here I am getting the following error.

Error when checking operator: Type mismatch for field 'RSK_NO'. Fatal error.

Teradata_Enterprise_241: Error when checking operator: Input record and output table schemas are not compatible.
Error when checking operator: Cannot prepare target table.

Please suggest me, how to load float values in teradata

Thanks
IBMDS

Posted: Fri Mar 14, 2008 6:22 am
by ArndW
What (exactly) have you declared the column's data type to be in Teradata? And what data type in DataStage?

Posted: Fri Mar 14, 2008 6:34 am
by IBMDS
In teradata table, its float and in DataStage also defined as float

Posted: Fri Mar 14, 2008 6:51 am
by ArndW
IBMDS - how many digits of precision? The message,
Type mismatch for field 'RSK_NO'. Fatal error
is pretty clear that somewhere there is a discrepancy. How did you determine the Teradata DDL?

Posted: Fri Mar 14, 2008 7:19 am
by IBMDS
The source data looks like this

0.0302841
0.143932
0.044229
0.0474514
0
0.099517
0.00209654


Thanks
IBMDS

Posted: Fri Mar 14, 2008 7:21 am
by IBMDS
I imported table using plug-in metadata definition. its float and i verified the table(show table in teradata). its defined as float.

Thanks
IBMDS

Posted: Fri Mar 14, 2008 8:19 am
by ArndW
In the Float metadata have you enable "allow all zeroes"?

Posted: Fri Mar 14, 2008 4:55 pm
by ray.wurlod
Try importing the table definition using Orchestrate orchdbutil facility. Compare the two table definitions to see whether there are any differences. Even if you can't see any, replace the table definition in the job with the one imported using orchdbutil, and see whether that solves the problem. The orchdbutil facility is known to handle metadata more accurately than other importers.

Posted: Tue Mar 27, 2012 4:20 am
by battaliou
Did you fix this error? We had the same problem using decimals, as our TD supports a maximum of decimal(18) so when we had to populate a 38,2 we simply defined it as an 18,2 in DS.

Posted: Tue Mar 27, 2012 4:46 pm
by qt_ky
You just replied to a 4-year old message.