Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.23.0
Description
JoinCommuteRule must not match SEMI / ANTI join, because these types cannot be swapped.
This is a minor issue, because the "default" JoinCommuteRule.INSTANCE matches only INNER joins. However, there is another version of the rule (JoinCommuteRule.SWAP_OUTER, currently only used in a few unit tests), to match also outer joins, which could potentially match a SEMI / ANTI join.
Attachments
Issue Links
- is duplicated by
-
CALCITE-3911 JoinCommuteRule may generate wrong plan for SEMI/ANTI join
- Closed
- links to