silundong opened a new pull request, #4777: URL: https://github.com/apache/calcite/pull/4777
[CALCITE-7401](https://issues.apache.org/jira/browse/CALCITE-7401) The root cause of this issue is that the `TopDownGeneralDecorrelator` uses a `HepPlanner` which `noDag` is FALSE during the preprocessing phase before decorrelation, which causes equivalent nodes to share the same object. In scenarios with nested correlations, equivalent nodes at different nesting levels bind to different outer variables and therefore have different decorrelation information (`UnnestedQuery`). Since these nodes share the same object, this leads to corrupted records in `mapRelToUnnestedQuery`. -- 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]
