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

Split words on new lines or spaces #22270

Merged
merged 1 commit into from
Jul 14, 2022
Merged

Conversation

damccorm
Copy link
Contributor

@damccorm damccorm commented Jul 14, 2022

Right now, when we parse label commands, we don't correctly handle newlines. This changes all newlines to spaces to allow us to handle things correctly. Also adds a little logging.

Fixes #22269


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).
  • 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

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

Previously we just split on spaces. Also adds a little logging.

Fixes #22269
@github-actions github-actions bot added the build label Jul 14, 2022
@damccorm
Copy link
Contributor Author

R: @tvalentyn @Abacn

@damccorm damccorm merged commit e6de18c into master Jul 14, 2022
@damccorm damccorm deleted the users/damccorm/labelSplitting branch July 14, 2022 13:15
lostluck pushed a commit to lostluck/beam that referenced this pull request Aug 26, 2022
Previously we just split on spaces. Also adds a little logging.

Fixes apache#22269
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.

[Bug]: Weird behavior with label commands
2 participants