Query Reg. Join Stage

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
chandra.shekhar@tcs.com
Premium Member
Premium Member
Posts: 353
Joined: Mon Jan 17, 2011 5:03 am
Location: Mumbai, India

Query Reg. Join Stage

Post by chandra.shekhar@tcs.com »

HI,
I have a small query. If I am having 10 Src table(T1,T2...T10) and I am using a Join stage after the Src, keeping left outer join as join type. Then what will be my output like?
Like the remaining 9 tables(T2,T3...T10) will make a inner join and then a left outer join will happen on T1? Or Will it be a left outer join throughout all the tables??
Thanx and Regards,
ETL User
srinivas.g
Participant
Posts: 251
Joined: Mon Jun 09, 2008 5:52 am

Post by srinivas.g »

Like the remaining 9 tables(T2,T3...T10) will make a inner join and then a left outer join will happen on T1
I hope answered your question.
Srinu Gadipudi
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The same join type is used pairwise on all input links to the Join stage. (Join type can only be set once in the stage.) Specify the join type that you actually require.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
fmou
Participant
Posts: 124
Joined: Sat May 28, 2011 9:48 pm

Post by fmou »

left outer join throughout all the tables
chandra.shekhar@tcs.com
Premium Member
Premium Member
Posts: 353
Joined: Mon Jan 17, 2011 5:03 am
Location: Mumbai, India

Post by chandra.shekhar@tcs.com »

@srini and fmou
You are making me confused :?

@Ray
You mean to say that first left outer join will happen on T1 and T2, then result of this join will be left outer joined with T3 and so on??
Thanx and Regards,
ETL User
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes. And that's how database engines do it too.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply