GitHub user greghogan opened a pull request:
https://github.com/apache/flink/pull/2272
[FLINK-4231] [java] Switch DistinctOperator from GroupReduce to Reduce
Rewrite the DistinctOperator using Reduce to support both the sort-based
combine and the recently added hash-based combine. This is configured by the
new method DistinctOperator.setCombineHint(CombineHint).
The tests for combineability are removed as Reduce is inherently
combineable.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/greghogan/flink
4231_switch_distinctoperator_from_groupreducefunction_to_reducefunction
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2272.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2272
----
commit 2405f827d672d669ab0d5cc8d5963928b13511be
Author: Greg Hogan <[email protected]>
Date: 2016-07-18T15:50:44Z
[FLINK-4231] [java] Switch DistinctOperator from GroupReduce to Reduce
Rewrite the DistinctOperator using Reduce to support both the sort-based
combine and the recently added hash-based combine. This is configured by
the new method DistinctOperator.setCombineHint(CombineHint).
The tests for combineability are removed as Reduce is inherently
combineable.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---