Skip to content
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-7532][CORE] Rewrite TakeOrderedAndProject with actually executed operators when do offload #7533

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ivoson
Copy link
Contributor

@ivoson ivoson commented Oct 15, 2024

What changes were proposed in this pull request?

Rewrite the TakeOrderedAndProjectExecTransformer to the operators which are actually executed when do offload. Currently, the logic is wrapped in the RDD of the operator. Which means that in the RDD computation we play with the sql operators to generate new RDDs which is not a common practice processing sql queries. And the final executed plan and metrics information won't be shown correctly in the Spark UI page.

In this PR, rewrite the node TakeOrderedAndProjectExecTransformer when do offload so that the operators can be shown correctly.

How was this patch tested?

UT

@github-actions github-actions bot added CORE works for Gluten Core VELOX labels Oct 15, 2024
Copy link

#7532

Copy link

Run Gluten Clickhouse CI

@zhztheplayer
Copy link
Member

zhztheplayer commented Oct 15, 2024

+1 to the idea. I remember there was vanilla Spark limitation as blocker against a similar effort. But let's see if it's doable at this time.

Copy link

Run Gluten Clickhouse CI

1 similar comment
Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

@ivoson ivoson marked this pull request as ready for review October 18, 2024 02:08
@ivoson
Copy link
Contributor Author

ivoson commented Oct 18, 2024

cc @zhztheplayer can you please review this PR? Thanks.

@zhztheplayer zhztheplayer self-assigned this Oct 18, 2024
@zhztheplayer zhztheplayer self-requested a review October 18, 2024 02:59
@zhztheplayer zhztheplayer removed their assignment Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLICKHOUSE CORE works for Gluten Core VELOX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants