Github user ChengXiangLi commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1540#discussion_r50505273
  
    --- Diff: flink-java/src/main/java/org/apache/flink/api/java/DataSet.java 
---
    @@ -1253,9 +1257,11 @@ public long count() throws Exception {
         * @param fields The field indexes on which the DataSet is 
range-partitioned.
         * @return The partitioned DataSet.
         */
    -   public PartitionOperator<T> partitionByRange(int... fields) {
    +   public PartitionOperator<T> partitionByRange(DataDistribution 
datadistribution, int... fields) {
    +           new ManualDistribution().setDistribution(datadistribution);
    --- End diff --
    
    Why wrapped with `ManualDistribution`, and you didn't actually use it.


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

Reply via email to