Skip to content

Conversation

@davidcavazos
Copy link

Update the code sample for ToString to use the util.ToString transform.

R: @aaltay Can you take a look whenever you have a chance? Thanks!


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.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- Build Status --- --- Build Status
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- Build Status
XLang --- --- --- Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@davidcavazos davidcavazos force-pushed the tostring-sample branch 2 times, most recently from 626246b to 5923e32 Compare August 27, 2019 00:13
@aaltay
Copy link
Member

aaltay commented Aug 27, 2019

LGTM, could you fix the test issues?

@davidcavazos
Copy link
Author

I'm on it. It's some weird behavior with the utf-8 strings, they behave differently in Python 2.7, 3.5 and 3.7.

@davidcavazos davidcavazos force-pushed the tostring-sample branch 2 times, most recently from f9998f9 to a08c3cc Compare August 27, 2019 22:56
@davidcavazos
Copy link
Author

@aaltay Tests are passing, ready for review. I had to do some workarounds due to discrepancies in which utf-8 strings are handled in Python 2.7, 3.5 and 3.7.

@aaltay aaltay merged commit 445d6ba into apache:master Aug 31, 2019
@aaltay
Copy link
Member

aaltay commented Aug 31, 2019

@davidcavazos for future PRs, could you keep adding new commits instead of squashing and force pushing. Reviewing deltas are much easier that way. Before merging I/you one of us can do the squashing.

@davidcavazos davidcavazos deleted the tostring-sample branch September 3, 2019 16:30
@davidcavazos
Copy link
Author

Got it, will do that from here on now :) Thank you!

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 this pull request may close these issues.

2 participants