-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[CALCITE-7196] Create an optimization pass which can convert some cases of Correlate + Unnest to Unnest #4709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
xiedeyantu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know much about this, but the test results look good. So I'm just offering some simple suggestions for your reference. It would be great if someone else could review them.
core/src/main/java/org/apache/calcite/rel/rules/UnnestDecorrelateRule.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/calcite/rel/rules/UnnestDecorrelateRule.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/calcite/rel/rules/UnnestDecorrelateRule.java
Show resolved
Hide resolved
core/src/main/java/org/apache/calcite/rel/rules/UnnestDecorrelateRule.java
Outdated
Show resolved
Hide resolved
|
Is there any progress on this PR? I think it should be very helpful in improving the new decorrelation algorithm. |
|
I will address the comments this week |
xiedeyantu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
If we haven't come up with any more complex cases, I think we can merge first and then add more details later.
core/src/main/java/org/apache/calcite/rel/rules/UnnestDecorrelateRule.java
Outdated
Show resolved
Hide resolved
|
If @dssysolyatin likes the new shape I plan to merge this soon. |
|
LGTM, thanks @mihaibudiu! |
…es of Correlate + Unnest to Unnest Signed-off-by: Mihai Budiu <mbudiu@feldera.com>
|



https://issues.apache.org/jira/browse/CALCITE-7196