Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tmap cross join question

thumbnail_IMG_9394 (1).jpg

 

From the screenshot i don't see any link between row1 and row2 in tmap. what kind of join is this? so far I saw a join condition(inner join) and a link. In this case it says left outer join but on what condition is the big question. From what i see my data does  not match on those columns. Even if this is a cross join there should be a matching condition but in this case there is none. I am having hard time trying to decode this to Sql. Any help on this is greatly appreciated. 

Labels (2)
1 Solution

Accepted Solutions
David_Beaty
Specialist
Specialist

Hi,

 

Its giving you the Cartesian product of both sources. The "Left outer join" is part of the join model, which you have no join, so is somewhat obsolete. For each individual flow in row1.....every entry in row2 will be matched.

 

View solution in original post

4 Replies
David_Beaty
Specialist
Specialist

Hi,

 

Its giving you the Cartesian product of both sources. The "Left outer join" is part of the join model, which you have no join, so is somewhat obsolete. For each individual flow in row1.....every entry in row2 will be matched.

 

Anonymous
Not applicable
Author

Thank you very much. This helps. 

Anonymous
Not applicable
Author

A tMap is driven by one input source, the main source. In your case that is row1. Any other source is just for lookups. If you are not joining, then you will get every row of the lookup "matched" against every row of the main IF "Match Model" is set to "All rows". What you have there does look like a cross-join. You do not need a join condition on a cross-join as it is the Cartesian product.

Anonymous
Not applicable
Author

Sorry @dsoulalioux, it appears I started my response before you started yours and then got involved in something else before posting 🙂 Nice answer