calcite icon indicating copy to clipboard operation
calcite copied to clipboard

[CALCITE-4126] Stackoverflow error when applying JoinCommuteRule (Liya Fan)

Open liyafan82 opened this issue 5 years ago • 0 comments

See https://issues.apache.org/jira/browse/CALCITE-4126

The reason for stack overflow is that the JoinCommuteRule swaps children indiscriminately, which results in endless firing of the rule.

To solve the problem, we modify the rule so that the children are swapped only when some conditions are satisfied.

liyafan82 avatar Jul 23 '20 12:07 liyafan82