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

Add support for State in ParDo / DoFn operations #12

Closed
pabloem opened this issue Jun 8, 2022 · 0 comments · Fixed by #27
Closed

Add support for State in ParDo / DoFn operations #12

pabloem opened this issue Jun 8, 2022 · 0 comments · Fixed by #27
Assignees

Comments

@pabloem
Copy link
Collaborator

pabloem commented Jun 8, 2022

The Ray Runner does not support accessing state by ParDo / DoFns. This test verifies this behavior:

https://github.com/ray-project/ray_beam_runner/blob/master/ray_beam_runner/portability/ray_runner_test.py#L328-L352

We have an implementation of a state manager (https://github.com/ray-project/ray_beam_runner/blob/master/ray_beam_runner/portability/execution.py#L205-L243), as an Actor that implements the state servicer interface (https://github.com/apache/beam/blob/044313637c9eea2e3c2b0baa60bc853a948c12ee/sdks/python/apache_beam/runners/portability/fn_api_runner/worker_handlers.py#L944). We need to verify that the state is plumbed through and working.

iasoon added a commit to iasoon/ray_beam_runner that referenced this issue Jun 15, 2022
@iasoon iasoon self-assigned this Jun 15, 2022
iasoon added a commit to iasoon/ray_beam_runner that referenced this issue Jun 16, 2022
pdames pushed a commit that referenced this issue Jun 22, 2022
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 a pull request may close this issue.

2 participants