-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 coders not being used in Reshuffle (non global window) #33363
Merged
robertwb
merged 19 commits into
apache:master
from
shunping:reshuffle-output-hint-non-global-window
Dec 14, 2024
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
e77029f
Fix typehint in ReshufflePerKey on global window setting.
shunping 6d60c65
Only update the type hint on global window setting. Need more work in…
shunping 9a66c96
Apply yapf
shunping 96fe674
Fix some failed tests.
shunping c71ddaf
Merge branch 'master' into reshuffle-output-hint
shunping 1be1ef1
Revert change to setup.py
shunping 37f0a76
Fix custom coders not being used in reshuffle in non-global windows
shunping 9300dad
Revert changes in setup.py. Reformat.
shunping 07ef4ab
Merge branch 'master' into reshuffle-output-hint-non-global-window
shunping bff8b3c
Make WindowedValue a generic class. Support its conversion to the cor…
shunping 618d4e4
Cython does not support Python generic class. Add a subclass as a wor…
shunping 6204023
Add comments
shunping f3bc937
Fix type error.
shunping ed302e9
Remove the base class of WindowedValue in TypedWindowedValue.
shunping 86cfdd8
Move TypedWindowedValue out from windowed_value.py
shunping f9e4746
Revise the comments
shunping 5a67660
Fix the module location when matching.
shunping d453b42
Fix test failure where __name__ of a type alias not found in python 3.9
shunping 7854f43
Add a note about the window coder.
robertwb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a TODO to pass the right coder for the Window as well (so we don't fall back to PickleCoder to encode the windows?) This would require making TypedWindowedValue have two type parameters, the second being optional, and might get messy, so can be deferred for now so we can get this in to unbreak things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I'll just drop the note now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Robert!