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

[prism] Fusion base, reshuffle, cogbk. #27737

Merged
merged 6 commits into from
Jul 31, 2023
Merged

Conversation

lostluck
Copy link
Contributor

Add support to prism for handling reshuffles, and cogbk.

See #27550 and #24789.


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.

@github-actions
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

@lostluck
Copy link
Contributor Author

R: @jrmccluskey

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Merging #27737 (201cf50) into master (9919d5a) will increase coverage by 0.02%.
Report is 18 commits behind head on master.
The diff coverage is 80.74%.

@@            Coverage Diff             @@
##           master   #27737      +/-   ##
==========================================
+ Coverage   70.89%   70.91%   +0.02%     
==========================================
  Files         860      860              
  Lines      104631   104852     +221     
==========================================
+ Hits        74173    74358     +185     
- Misses      28904    28935      +31     
- Partials     1554     1559       +5     
Flag Coverage Δ
go 53.55% <80.74%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
sdks/go/pkg/beam/core/runtime/exec/translate.go 23.04% <0.00%> (-0.21%) ⬇️
...ks/go/pkg/beam/runners/prism/internal/urns/urns.go 100.00% <ø> (ø)
...dks/go/pkg/beam/runners/universal/runnerlib/job.go 0.00% <0.00%> (ø)
...m/runners/prism/internal/jobservices/management.go 54.97% <7.14%> (-3.99%) ⬇️
sdks/go/pkg/beam/runners/prism/internal/execute.go 92.13% <57.14%> (-0.75%) ⬇️
...go/pkg/beam/runners/prism/internal/handlerunner.go 86.30% <81.81%> (-0.94%) ⬇️
sdks/go/pkg/beam/runners/prism/internal/stage.go 84.57% <83.80%> (+0.08%) ⬆️
...s/go/pkg/beam/runners/prism/internal/preprocess.go 94.67% <95.97%> (+3.00%) ⬆️
...am/runners/prism/internal/engine/elementmanager.go 82.09% <100.00%> (ø)
...o/pkg/beam/runners/prism/internal/worker/worker.go 47.72% <100.00%> (ø)
... and 1 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lostluck
Copy link
Contributor Author

ping (polite)

Comment on lines 94 to 99
if len(t.GetOutputs()) != 1 {
panic("Expected single putput PCollection in reshuffle: " + prototext.Format(t))
}
if len(t.GetOutputs()) != 1 {
panic("Expected single putput PCollection in reshuffle: " + prototext.Format(t))
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you missed the input check here and didn't update the panic string for each

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol. putput. Good catch!

@lostluck lostluck merged commit 991b4b5 into apache:master Jul 31, 2023
7 checks passed
aleksandr-dudko pushed a commit to aleksandr-dudko/beam that referenced this pull request Aug 1, 2023
* [prism] Fusion base, reshuffle, cogbk.

* silence logging, better message

* precise reshuffle strategy filtering

* Remove leftover comments

* remove decommissioned function

* fix typos.

---------

Co-authored-by: lostluck <[email protected]>
bullet03 pushed a commit to akvelon/beam that referenced this pull request Aug 11, 2023
* [prism] Fusion base, reshuffle, cogbk.

* silence logging, better message

* precise reshuffle strategy filtering

* Remove leftover comments

* remove decommissioned function

* fix typos.

---------

Co-authored-by: lostluck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants