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

[BEAM-14473] Throw error if using globally windowed, unbounded side input #17681

Merged
merged 1 commit into from
May 16, 2022

Conversation

jrmccluskey
Copy link
Contributor

Throws an error at pipeline construction time if a user tries to use a globally windowed, unbounded side input. This avoids users accidentally writing a streaming DoFn that would block until the end of the global window and prompts them to window the side input. Also adds a unit test that checks the side input error conditions in TryParDo.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • 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

See CI.md for more information about GitHub Actions CI.

@asf-ci
Copy link

asf-ci commented May 16, 2022

Can one of the admins verify this patch?

2 similar comments
@asf-ci
Copy link

asf-ci commented May 16, 2022

Can one of the admins verify this patch?

@asf-ci
Copy link

asf-ci commented May 16, 2022

Can one of the admins verify this patch?

@github-actions github-actions bot added the go label May 16, 2022
@codecov
Copy link

codecov bot commented May 16, 2022

Codecov Report

Merging #17681 (56cd132) into master (5b81d14) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master   #17681   +/-   ##
=======================================
  Coverage   74.00%   74.00%           
=======================================
  Files         695      695           
  Lines       91795    91798    +3     
=======================================
+ Hits        67930    67939    +9     
+ Misses      22615    22611    -4     
+ Partials     1250     1248    -2     
Flag Coverage Δ
go 50.41% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
sdks/go/pkg/beam/pardo.go 50.43% <100.00%> (+6.68%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6aab06...56cd132. Read the comment docs.

Copy link
Contributor

@lostluck lostluck left a comment

Choose a reason for hiding this comment

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

Thanks!

@lostluck lostluck merged commit 9eb8644 into apache:master May 16, 2022
@jrmccluskey jrmccluskey deleted the sideBoundingValidation branch May 16, 2022 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants