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

[VL] Add shuffle writer type to ColumnarExchange display string #6799

Merged
merged 4 commits into from
Aug 14, 2024

Conversation

marin-ma
Copy link
Contributor

@marin-ma marin-ma commented Aug 13, 2024

To distinguish between the hash and sort shuffle writer types more clearly, add "hash" or "sort" to the operator's display string, and remove [id=#$id] as it's the same as [plan_id=#$id] in Exchange

image
image

@github-actions github-actions bot added CORE works for Gluten Core VELOX CLICKHOUSE labels Aug 13, 2024
Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

if (useSortBasedShuffle) GlutenConfig.GLUTEN_SORT_SHUFFLE_WRITER
else GlutenConfig.GLUTEN_HASH_SHUFFLE_WRITER
}
super.stringArgs ++ Iterator(s"$shuffleWriterType")
Copy link
Contributor

@jinchengchenghh jinchengchenghh Aug 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use [shuffle_writer_type=$shuffleWriterType] instead?
And does shuffleWriterType is always lower case, it should be consistent

@jinchengchenghh
Copy link
Contributor

Thanks! Just a little nit.

Copy link

Run Gluten Clickhouse CI

@marin-ma marin-ma force-pushed the columnar-exchange-str branch from 7aa6ca3 to 501ba09 Compare August 13, 2024 07:25
Copy link

Run Gluten Clickhouse CI

if (useSortBasedShuffle) GlutenConfig.GLUTEN_SORT_SHUFFLE_WRITER
else GlutenConfig.GLUTEN_HASH_SHUFFLE_WRITER
}
super.stringArgs ++ Iterator(s"[shuffle_writer_type=$shuffleWriterType]")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may also need to update the tpch-approved-plan

Copy link

Run Gluten Clickhouse CI

@marin-ma marin-ma merged commit db799a4 into apache:main Aug 14, 2024
43 checks passed
sharkdtu pushed a commit to sharkdtu/gluten that referenced this pull request Nov 11, 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