xiedeyantu commented on code in PR #4490:
URL: https://github.com/apache/calcite/pull/4490#discussion_r2252869224
##########
core/src/main/java/org/apache/calcite/rel/rules/CoreRules.java:
##########
@@ -620,6 +620,10 @@ private CoreRules() {}
public static final JoinCommuteRule JOIN_COMMUTE_OUTER =
JoinCommuteRule.Config.SWAP_OUTER.toRule();
+ /** As {@link #JOIN_COMMUTE} but only swaps RIGHT joins to LEFT joins. */
+ public static final JoinCommuteRule JOIN_COMMUTE_RIGHT_TO_LEFT =
Review Comment:
Should add `@RuleConfig(value = "RIGHT_TO_LEFT_ONLY")`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]