-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Use cloudpickle for Java Python transforms. #23093
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
Conversation
This works around bugs in dill regarding functions defined with eval and exec used for the PythonCallable types here. Also fix flag that was placed on the wrong binary.
Codecov Report
@@ Coverage Diff @@
## release-2.42.0 #23093 +/- ##
===============================================
Coverage 73.58% 73.58%
===============================================
Files 716 716
Lines 95301 95301
===============================================
+ Hits 70129 70131 +2
+ Misses 23876 23874 -2
Partials 1296 1296
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Python Precommit fails:
apache_beam/coders/fast_coders_test.py ................................. [ 40%] =================================== FAILURES =================================== self = <apache_beam.transforms.userstate_test.StatefulDoFnOnDirectRunnerTest testMethod=test_dynamic_timer_clear_then_set_timer>
apache_beam/transforms/userstate_test.py:1033: apache_beam/pipeline.py:597: in exit self = <apache_beam.runners.common.MethodWrapper object at 0x7fafc7c10390>
E Failed: Timeout >3.0s apache_beam/runners/common.py:168: Failed |
|
Run Python PreCommit |
|
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
|
That failure looks irrelevant to these changes. |
This works around bugs in dill regarding functions defined with eval and exec used for the PythonCallable types here.
Also fix flag that was placed on the wrong binary.
This is a cherry-pick for #23073.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).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, commentfixes #<ISSUE NUMBER>instead.CHANGES.mdwith noteworthy changes.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)
See CI.md for more information about GitHub Actions CI.