Oracle EE Nullability & Decimal Warnings

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
cdw
Premium Member
Premium Member
Posts: 9
Joined: Wed Jul 01, 2009 10:02 am

Oracle EE Nullability & Decimal Warnings

Post by cdw »

Hi,

While using Oracle EE Stage, I am facing the following errors:
1) Column CUST_SKEY floating point decimal is not fully supported; adjusting the scale.
2) Converting a nullable source to a non-nullable result;
a fatal runtime error could occur; use the modify operator to
specify a value to which the null should be converted.
Issue 2 is due to the usage of alias

I checked dsxchange for solutions on this. The post suggest using cast function for #1 and using NVL for #2.
However, even with both the options the warnings still persist.

The Field is defined as Number in the table
While importing into DS, it is taken as Decimal 38,10

I have used 'nvl(cast(ALL_CUST_SKEY_PROF as DECIMAL(38,10)),-1) CUST_SKEY' in the SQL. However, both warnings still persist

I have also tried with Decimal 38,0.

Am I missing something here?

Regards,
Bakul
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

its datastage warning, so you have to handle the null and conversion in datastage, rather then in the SQL.
Post Reply