NULL Handling

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
srao
Premium Member
Premium Member
Posts: 41
Joined: Mon Mar 19, 2007 12:42 pm

NULL Handling

Post by srao »

If a column is nullable from oracle source and loading in to target data set is also nullable but still the records were dropping . Why are the records were dropping if the column is set as nullable?

APT_CombinedOperatorController,0: Field 'PUR_DATE' from input dataset '0' is NULL. Record dropped.
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

Disable operator combination so that you can determine which operator is actually dropping the row. From there you can determine why.

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
srao
Premium Member
Premium Member
Posts: 41
Joined: Mon Mar 19, 2007 12:42 pm

Post by srao »

Please could you explain in detail?
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

Set environment variable $APT_DISABLE_COMBINATION to 1 so that operators will NOT be combined into a single process. It's documented and mentioned here in the forums many times as part of debugging problems.
APT_CombinedOperatorController,0: Field 'PUR_DATE' from input dataset '0' is NULL. Record dropped.
The operator name APT_CombinedOperatorController indicates that two or more operators (i.e. stages) are combined into a single process. Unfortunately you can't tell which of the combined operators dropped the record, hence the recommendation to disable operator combination and rerun the job.

Regards,
- james wiles


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