-
Notifications
You must be signed in to change notification settings - Fork 442
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
[VL] Support inline function #4847
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/oap-project/gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
Run Gluten Clickhouse CI |
2 similar comments
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
8f3d7bf
to
66e822a
Compare
Run Gluten Clickhouse CI |
66e822a
to
89d5740
Compare
Run Gluten Clickhouse CI |
89d5740
to
ecffd0c
Compare
Run Gluten Clickhouse CI |
@zhouyuan Please kindly review. Thanks! |
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.
quite neat impl!
applyPostProjectOnGenerator(generateRel, context, operatorId, childOutput, validation) | ||
} | ||
|
||
private def applyPostProjectOnGenerator( |
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.
Could you please add one comment on when this should be called, any other cases than inline
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.
There are 3 types of CollectionGenerator in spark: Explode
, PosExplode
and Inline
. Looks like only inline
needs the post projection according Velox UnnestNode
implementation. Besides, it would be better to implement this function in backends API. I will try PosExplode
next and refine this part of code in another PR.
Run Gluten Clickhouse CI |
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.
👍
The failure is not related
===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
|
As explode functions is already supported, we can also enable inline function by adding a post-project to get the inner fields from the struct.
As explode functions is already supported, we can also enable inline function by adding a post-project to get the inner fields from the struct.
As explode functions is already supported, we can also enable inline function by adding a post-project to get the inner fields from the struct.
As explode functions is already supported, we can also enable inline function by adding a post-project to get the inner fields from the struct.
As explode functions is already supported, we can also enable inline function by adding a post-project to get the inner fields from the struct.