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

[CELEBORN] CHCelebornColumnarShuffleWriter supports celeborn.client.spark.shuffle.writer to use memory sort shuffle in ClickHouse backend #6432

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

SteNicholas
Copy link
Member

@SteNicholas SteNicholas commented Jul 12, 2024

What changes were proposed in this pull request?

  1. CHCelebornColumnarShuffleWriter supports celeborn.client.spark.shuffle.writer to use memory sort shuffle in ClickHouse backend.
  2. CHCelebornColumnarShuffleWriter initializes nativeShuffleWriter without skipping ColumnarBatch in internalWrite to avoid unnecessary creation of nativeShuffleWriter for skipping ColumnarBatch.
  3. Extracts the same writing records code of CHCelebornColumnarShuffleWriter and VeloxCelebornColumnarShuffleWriter into CelebornColumnarShuffleWriter.

How was this patch tested?

CI.

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:

@SteNicholas SteNicholas force-pushed the columnar-shuffle-writer branch 3 times, most recently from f66fc65 to 77627ae Compare July 12, 2024 09:32
@SteNicholas SteNicholas changed the title [CELEBORN] CHCelebornColumnarShuffleWriter supports celeborn.client.spark.shuffle.writer to use external sort shuffle in ClickHouse backend [CELEBORN] CHCelebornColumnarShuffleWriter supports celeborn.client.spark.shuffle.writer to use memory sort shuffle in ClickHouse backend Jul 12, 2024
liuneng1994
liuneng1994 previously approved these changes Jul 12, 2024
Copy link
Contributor

@liuneng1994 liuneng1994 left a comment

Choose a reason for hiding this comment

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

LGTM

@SteNicholas SteNicholas force-pushed the columnar-shuffle-writer branch 2 times, most recently from 1c1e15a to 32de3ce Compare July 12, 2024 10:03
@SteNicholas SteNicholas requested a review from liuneng1994 July 12, 2024 10:06
@SteNicholas SteNicholas force-pushed the columnar-shuffle-writer branch from 32de3ce to 0ff415e Compare July 13, 2024 07:52
@SteNicholas SteNicholas requested a review from taiyang-li July 13, 2024 07:52
@SteNicholas SteNicholas force-pushed the columnar-shuffle-writer branch 4 times, most recently from 9bb96a1 to c9ae706 Compare July 13, 2024 12:29
…park.shuffle.writer to use memory sort shuffle in ClickHouse backend
@SteNicholas SteNicholas force-pushed the columnar-shuffle-writer branch from c9ae706 to 9193878 Compare July 13, 2024 15:25
Copy link
Contributor

@taiyang-li taiyang-li left a comment

Choose a reason for hiding this comment

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

LGTM

@taiyang-li taiyang-li merged commit 30bddd0 into apache:main Jul 15, 2024
39 checks passed
yma11 added a commit to yma11/gluten that referenced this pull request Jul 15, 2024
…client.spark.shuffle.writer to use memory sort shuffle in ClickHouse backend (apache#6432)"

This reverts commit 30bddd0.
yma11 added a commit to yma11/gluten that referenced this pull request Jul 15, 2024
…client.spark.shuffle.writer to use memory sort shuffle in ClickHouse backend (apache#6432)"

This reverts commit 30bddd0.
weiting-chen pushed a commit to weiting-chen/gluten that referenced this pull request Nov 12, 2024
…park.shuffle.writer to use memory sort shuffle in ClickHouse backend (apache#6432)
weiting-chen added a commit that referenced this pull request Nov 18, 2024
* [CELEBORN] CHCelebornColumnarShuffleWriter supports celeborn.client.spark.shuffle.writer to use memory sort shuffle in ClickHouse backend (#6432)

* [GLUTEN-6656][CELEBORN] Fix CelebornColumnarShuffleWriter assertion failed (#6657)

---------

Co-authored-by: Nicholas Jiang <programgeek@163.com>
Co-authored-by: exmy <xumovens@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants