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

Windowing Support for the DaskRunner #27618

Closed
wants to merge 176 commits into from

Conversation

alxmrs
Copy link
Contributor

@alxmrs alxmrs commented Jul 22, 2023

This CL adds basic Windowing support to this runner, including a few tests for side inputs.

Take two of #23913. It looks like some of the issues in CI causing this dask change to fail were resolved on their own with changes in master.

Reviewers: @jrmccluskey


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.

alxmrs and others added 30 commits September 19, 2022 16:34
- CoGroupByKey is broken due to how tags are used with GroupByKey
- GroupByKey should output `[('0', None), ('1', 1)]`, however it actually outputs: [(None, ('1', 1)), (None, ('0', None))]
- Once that is fixed, we may have test pipelines work on Dask.
@cisaacstern
Copy link
Contributor

cisaacstern commented Jan 4, 2024

Status:

  • Side inputs now work, with implementation based on Ray Runner
  • Added additional side inputs test based on Ray Runner tests
  • All side inputs tests pass except for 1, which I will take a look at next.

This finally feels like it's getting close. (There is still some upstream work on Dask that needs to go in before this, which I'll push forward as well, as mentioned above.)

@cisaacstern
Copy link
Contributor

cisaacstern commented Jan 11, 2024

I have now gotten this as far as it can go without the above-referenced fix in dask going in, so going to shift focus back there, and will re-ping here once that goes in and this is ready for review.

Copy link
Contributor

Reminder, please take a look at this pr: @riteshghorse @damccorm

@cisaacstern
Copy link
Contributor

After a hiatus, I am working on this again now.

Today I will complete the upstream fix dask/dask#10734 in dask.

Once that goes in, I'll complete this. Thanks all for your patience.

@cisaacstern
Copy link
Contributor

The necessary upstream fix in Dask was merged! 🎉

Once we get a new Dask release that includes this change, I will finish this PR!

Copy link
Contributor

github-actions bot commented Jun 8, 2024

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jun 8, 2024
Copy link
Contributor

This pull request has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions bot closed this Jun 15, 2024
@alxmrs
Copy link
Contributor Author

alxmrs commented Oct 24, 2024

Wow, @cisaacstern, you've done a heroic effort in getting this change ready for merge! I was thinking of picking this one back up. Is there anything I should going forward? I think that the upstream bugfix has been released?

@cisaacstern
Copy link
Contributor

Wow, @cisaacstern, you've done a heroic effort in getting this change ready for merge! I was thinking of picking this one back up. Is there anything I should going forward? I think that the upstream bugfix has been released?

😃 👋 @alxmrs thanks!! Yes, the upstream fix was merged, and then I think the only/primary thing left was just to pin against a newer release of dask, and get tests to pass here. I dropped the ball on this after that upstream fix went in, as other responsibilities arose. I'd love to pass this back to you and see our mutual efforts land in Beam! Let me know if/how I can support you! Good luck!

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

Successfully merging this pull request may close these issues.

8 participants