Skip to content

[GLUTEN-6656][UNIFFLE] VeloxUniffleColumnarShuffleWriter should send commit for all ColumnBatch with empty rows#6698

Merged
jackylee-ch merged 1 commit intoapache:mainfrom
SteNicholas:GLUTEN-6656
Aug 5, 2024
Merged

[GLUTEN-6656][UNIFFLE] VeloxUniffleColumnarShuffleWriter should send commit for all ColumnBatch with empty rows#6698
jackylee-ch merged 1 commit intoapache:mainfrom
SteNicholas:GLUTEN-6656

Conversation

@SteNicholas
Copy link
Member

What changes were proposed in this pull request?

When all of the ColumnarBatch have empty rows in VeloxUniffleColumnarShuffleWriter, the nativeShuffleWriter is not initialized and causes IllegalStateException. VeloxUniffleColumnarShuffleWriter should send commit for all ColumnBatch with empty rows.

Follow up #6657.

(Fixes: #6656)

How was this patch tested?

CI.

@github-actions github-actions bot added the RSS label Aug 2, 2024
@github-actions
Copy link

github-actions bot commented Aug 2, 2024

#6656

@SteNicholas
Copy link
Member Author

Ping @exmy, @jackylee-ch, @summaryzb.

@summaryzb
Copy link
Contributor

I'm ok with this fix

Copy link
Member

@xianjingfeng xianjingfeng 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
Copy link
Member Author

@jackylee-ch, PTAL.

Copy link
Contributor

@jackylee-ch jackylee-ch left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CH] CHCelebornColumnarShuffleWriter assertion failed

4 participants