-
Notifications
You must be signed in to change notification settings - Fork 368
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
[GLUTEN-5757][CORE] Remove unnecessary ProjectExecTransformer for Generate #5782
[GLUTEN-5757][CORE] Remove unnecessary ProjectExecTransformer for Generate #5782
Conversation
Run Gluten Clickhouse CI |
cc95e19
to
5378fd4
Compare
Run Gluten Clickhouse CI |
gluten-core/src/test/scala/org/apache/gluten/execution/WholeStageTransformerSuite.scala
Outdated
Show resolved
Hide resolved
Run Gluten Clickhouse CI |
0130c96
to
49ccf81
Compare
Run Gluten Clickhouse CI |
@zhztheplayer Seems the test
|
49ccf81
to
5bf6dfe
Compare
Run Gluten Clickhouse CI |
I think it's in suite |
5bf6dfe
to
81f500e
Compare
Run Gluten Clickhouse CI |
81f500e
to
17f415d
Compare
Run Gluten Clickhouse CI |
17f415d
to
d146786
Compare
Run Gluten Clickhouse CI |
…erate If generator function's input is already Attribute reference, we omit the introduction of the ProjectExec. Previous implementation always assume there is Project under Generate. In the new implementation we added a metadata(injectedProject) in Substrait plan to tell us whether there is a dedicated Project under Generate
d146786
to
9363d75
Compare
Run Gluten Clickhouse CI |
@zhztheplayer Since #5838 is merged, this PR is ready for review now. Previous implementation always assume there is a dedicated Project under Generate, now this is not true anymore. If there is a Project under Generate it could be a dedicated Project for Generate, or it also could be just a normal Project. So we added a metadata(injectedProject) in Substrait plan to tell us whether there is a dedicated Project under Generate. |
@zhztheplayer |
All tests passed. |
cc @marin-ma |
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. Thanks!
What changes were proposed in this pull request?
If generator function's input is already Attribute reference, we omit the
introduction of the ProjectExec.
Previous implementation always assume there is Project under Generate. In
the new implementation we added a metadata(injectedProject) in Substrait
plan to tell us whether there is a dedicated Project under Generate.
(Fixes: #5757)