perf(optimizer): Avoid redundant project for the unnest#805
Open
srsuryadev wants to merge 1 commit intofacebookincubator:mainfrom
Open
perf(optimizer): Avoid redundant project for the unnest#805srsuryadev wants to merge 1 commit intofacebookincubator:mainfrom
srsuryadev wants to merge 1 commit intofacebookincubator:mainfrom
Conversation
|
@srsuryadev has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91549738. |
srsuryadev
added a commit
to srsuryadev/axiom
that referenced
this pull request
Jan 27, 2026
…cubator#805) Summary: Avoid unnecessary project for the unnest by pushing the aliasing to the output name of the unnest node. For the issue: facebookincubator#787 Differential Revision: D91549738
e435c84 to
da2e20e
Compare
srsuryadev
added a commit
to srsuryadev/axiom
that referenced
this pull request
Jan 27, 2026
…cubator#805) Summary: Avoid unnecessary project for the unnest by pushing the aliasing to the output name of the unnest node. For the issue: facebookincubator#787 Differential Revision: D91549738
a84379a to
2ce5e08
Compare
srsuryadev
added a commit
to srsuryadev/axiom
that referenced
this pull request
Jan 27, 2026
…cubator#805) Summary: Avoid unnecessary project for the unnest by pushing the aliasing to the output name of the unnest node. For the issue: facebookincubator#787 Differential Revision: D91549738
srsuryadev
added a commit
to srsuryadev/axiom
that referenced
this pull request
Jan 27, 2026
…cubator#805) Summary: Avoid unnecessary project for the unnest by pushing the aliasing to the output name of the unnest node. For the issue: facebookincubator#787 Differential Revision: D91549738
2ce5e08 to
bda0483
Compare
srsuryadev
added a commit
to srsuryadev/axiom
that referenced
this pull request
Jan 27, 2026
…cubator#805) Summary: Avoid unnecessary project for the unnest by pushing the aliasing to the output name of the unnest node. For the issue: facebookincubator#787 Differential Revision: D91549738
bda0483 to
85d519b
Compare
…bator#805) Summary: Avoid unnecessary project for the unnest by pushing the aliasing to the output name of the unnest node. When we are traversing through the nodes in makeQueryGraph, when we see redundant projects after unnest nodes, we push the alias names to the unnest nodes' output column. Hence, existing logics in the optimizer helps to prune the project nodes. For the issue: facebookincubator#787 Differential Revision: D91549738
85d519b to
b124428
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Avoid unnecessary project for the unnest by pushing the aliasing to the output name of the unnest node.
For the issue: #787
Differential Revision: D91549738
Unit Tests
E2E Tests