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

Fix custom coder not being used in Reshuffle (global window) #33339

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

shunping
Copy link
Contributor

@shunping shunping commented Dec 10, 2024

To fix the issue of Reshuffle(ReshufflePerKey) not using registered coders.

The fix only covers the global window scenario. I also opened another bug (#33356) for non-global window settings.

Addresses: #29908
Related to : #21541

Internal bug id: 383047714


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@shunping shunping marked this pull request as draft December 10, 2024 04:18
@shunping shunping force-pushed the reshuffle-output-hint branch from 666c4f8 to aafa4e8 Compare December 11, 2024 01:58
@shunping shunping force-pushed the reshuffle-output-hint branch from aafa4e8 to e77029f Compare December 11, 2024 20:34
@shunping shunping changed the title [WIP] Use output type hints in Reshuffle Fix custom coder not being used in ReshufflePerKey in a global window setting Dec 11, 2024
@shunping shunping marked this pull request as ready for review December 11, 2024 21:55
Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@shunping shunping force-pushed the reshuffle-output-hint branch from f49dafa to 1be1ef1 Compare December 12, 2024 02:12
@shunping
Copy link
Contributor Author

R: @jrmccluskey @robertwb

Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

@shunping shunping changed the title Fix custom coder not being used in ReshufflePerKey in a global window setting Fix custom coder not being used in Reshuffle (global window) Dec 12, 2024
Copy link
Contributor

@jrmccluskey jrmccluskey left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@jrmccluskey jrmccluskey merged commit 272feb8 into apache:master Dec 12, 2024
92 checks passed
shunping added a commit to shunping/beam that referenced this pull request Dec 18, 2024
- Fix custom coder not being used in Reshuffle (global window) (apache#33339)
- Fix custom coders not being used in Reshuffle (non global window) apache#33363
- Add missing to_type_hint to WindowedValueCoder apache#33403
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.

2 participants