Null handling warning generated :all columns are nonnullable

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
tanaya.deshpande@tieto.co
Participant
Posts: 94
Joined: Sun Jul 18, 2010 11:35 pm

Null handling warning generated :all columns are nonnullable

Post by tanaya.deshpande@tieto.co »

Hi

I have all the columns non -nullable throughout the job .and they are set as nullable No through out
still I am getting this warning..
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.

This warning is generated for an aggregrator stage..

can any one explain why..
manoj_23sakthi
Participant
Posts: 47
Joined: Tue Feb 23, 2010 12:16 am
Location: CHENNAI

Re: Null handling warning generated :all columns are nonnull

Post by manoj_23sakthi »

Hi,

Could You please explain wat function that you using in Aggregator stage


Thanks,
Manoj
tanaya.deshpande@tieto.co
Participant
Posts: 94
Joined: Sun Jul 18, 2010 11:35 pm

Post by tanaya.deshpande@tieto.co »

I am using a simple sum function ..adding salary of employees..
GJ_Stage
Participant
Posts: 131
Joined: Mon Oct 27, 2008 6:59 am

Post by GJ_Stage »

Plese check in source any null value is there for salary field.
soumya5891
Participant
Posts: 152
Joined: Mon Mar 07, 2011 6:16 am

Post by soumya5891 »

One thing may works.Disable the RCP
Soumya
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

What is the source of your data? A sequential file? A database? Something else?

If it's a database, go ahead and insert a modify stage after the database stage and use the handle_null() function. This will ensure that the column is truly converted to a non-nullable status.

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
Post Reply