Page 1 of 1

Metadata Problem while extracting from oracle 9i table

Posted: Tue Aug 26, 2008 6:50 am
by hhh
Hi All,

Could you pleaese guide me on following issue of metadata :

While extracting data from oracle(9i) table , getting following warning messages :
1) Orcl_Valid_Stat_Extract: Column SEQUENCE_JOB_ID floating point decimal is not fully supported; adjusting the scale.

2) Orcl_Valid_Stat_Extract: When checking operator: When binding output interface field "SEQUENCE_JOB_ID" to field "SEQUENCE_JOB_ID": Implicit conversion from source type "decimal[38,10]" to result type "decimal[38,0]": Possible precision limitation

Metadata for the "SEQUENCE_JOB_ID" is decimal(38) while describing table. Have put metadata for "SEQUENCE_JOB_ID" is decimal(38) only.There is no luck while changing the metadata as decimal(38,10).
While loading "SEQUENCE_JOB_ID" in table it does not throw any warning message with decimal(38).

Could you please suggest your inputs to solve this issue.

Thanks In Advance

Posted: Tue Aug 26, 2008 7:26 am
by dspxlearn
Can you please disable your smiles?
Try to CAST your field to Number(n) in your SQL and use Integer(n) as your data type.

On CAST the field to Decimal(38,10) in SQL and in transformer take the value just before '.' by using Field function.

Let us know your results please.

Posted: Tue Aug 26, 2008 3:09 pm
by ray.wurlod
Import the table definition using Orchestrate orchdbutil. Use the imported table definition without modification.

Posted: Wed Aug 27, 2008 12:40 am
by hhh
Hi,

Same warnings after importing metadata from Orchestrate orchdbutil for that particular table.

Thanks & Regards, HHH

[quote="ray.wurlod"]Import the table definition using Orchestrate orchdbutil. Use the imported table definition without modification. ...[/quote]

Posted: Wed Aug 27, 2008 1:18 am
by ray.wurlod
Did you also update the link from the table definition in your repository into your job - effectively re-load the table definition into your job? If not, you would expect the error to persist - this linkage is not maintained automatically.

Posted: Wed Aug 27, 2008 2:02 am
by hhh
Yes, Removed the old table difination completely and import the new defination in repository and in to job also.


[quote="ray.wurlod"]Did you also update the link from the table definition in your repository into your job - effectively re-load the table definition into your job? If not, you would expect the error to persist - this ...[/quote]