Skip to content

[BEAM-7010] MAX/MIN(STRING)#8230

Merged
kanterov merged 1 commit intoapache:masterfrom
amaliujia:rw-max_min_string
Apr 9, 2019
Merged

[BEAM-7010] MAX/MIN(STRING)#8230
kanterov merged 1 commit intoapache:masterfrom
amaliujia:rw-max_min_string

Conversation

@amaliujia
Copy link
Copy Markdown
Contributor

@amaliujia amaliujia commented Apr 4, 2019

String is comparable so MAX and MIN should work on String type.


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 --- --- --- --- --- ---
Java 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 --- --- ---

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.

@amaliujia
Copy link
Copy Markdown
Contributor Author

amaliujia commented Apr 5, 2019

R: @kanterov @kennknowles

@kanterov
Copy link
Copy Markdown
Member

kanterov commented Apr 8, 2019

LGTM

As a side note, I don't see aggregation tests verifying that aggregation works, because it always uses the input of a single row, and verifies that it doesn't change. I see there is BeamSqlDslSqlStdOperatorsTest that allows doing that. Can you fix that?

@amaliujia
Copy link
Copy Markdown
Contributor Author

amaliujia commented Apr 8, 2019

I think aggregation tests use test tables defined in BeamSqlDslBase.java, which has multiple rows test tables?

For example rowsInTableA is a table with 4 rows.

@kanterov
Copy link
Copy Markdown
Member

kanterov commented Apr 8, 2019

My bad, you are right.

@amaliujia
Copy link
Copy Markdown
Contributor Author

@kanterov

Could you merge this PR?

@kanterov kanterov merged commit a0c4650 into apache:master Apr 9, 2019
@amaliujia amaliujia deleted the rw-max_min_string branch April 9, 2019 16:36
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