Skip to content

Conversation

@twalthr
Copy link
Contributor

@twalthr twalthr commented Mar 22, 2017

This PR adds the missing retraction aggregations for strings.

Copy link
Contributor

@shaoxuan-wang shaoxuan-wang left a comment

Choose a reason for hiding this comment

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

LGTM. Can you please consider adding test cases in Max/MinWithRetractAggFunctionTest

* Built-in String Max with retraction aggregate function
*/
class StringMaxWithRetractAggFunction extends MaxWithRetractAggFunction[String] {
override def getInitValue: String = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

remove ": String"?

* Built-in String Min with retraction aggregate function
*/
class StringMinWithRetractAggFunction extends MinWithRetractAggFunction[String] {
override def getInitValue: String = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

remove ": String"?

@twalthr
Copy link
Contributor Author

twalthr commented Apr 3, 2017

Thanks for the hint @shaoxuan-wang. I added the tests and will merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants