Details
-
Bug
-
Resolution: Fixed
-
Major
-
Columnar 1.0.0
-
Untriaged
-
0
-
Unknown
Description
When we have multiple join predicates with a mix of equality and non-equality predicates, CBO picks a hash join as an applicable join method with the incorrect assumption that the physical optimizer will use only the equality predicate as the hash join predicate and apply the non-equality predicate as a post join filter. However, currently, the physical optimizer does not have this capability, and until this enhancement is added, CBO should not pick hash join as an applicable join method when there is a non-equality predicate even though there are other equality join predicates. A hash join should only be considered if all the join predicates are equality predicates.
Attachments
Issue Links
- links to