Left Outer Join and Timestamps

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
SettValleyConsulting
Premium Member
Premium Member
Posts: 72
Joined: Thu Sep 04, 2003 5:01 am
Location: UK & Europe

Left Outer Join and Timestamps

Post by SettValleyConsulting »

My understanding, based on a document from IBM, is that where I have a Left Outer join and a row in the 'Left' dataset does not find a match in the 'Right' dataset, any nullable columns from the right dataset will be nulled.

But this does not seem to be the case for timestamps. I have a logical test for a null timestamp and it fails in the above scenario. The nullable timestamp column actually seems to be filled with '*****' s where no row was found on the right dataset.

Looks like I am going to have to put a flag in the Right dataset and test for its value after the join.

Anyone else encountered this behaviour?
DS_FocusGroup
Premium Member
Premium Member
Posts: 197
Joined: Sun Jul 15, 2007 11:45 pm
Location: Prague

Post by DS_FocusGroup »

yup
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Where are you checking the value? If in a view or peek I think it uses the *s to show a non-displayable value. To be 100% certain I'd dump that to a database nullable column and check the value there.
Post Reply