Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/1776#discussion_r55660109
--- Diff:
flink-optimizer/src/main/java/org/apache/flink/optimizer/dataproperties/GlobalProperties.java
---
@@ -92,6 +95,10 @@ public void setRangePartitioned(Ordering ordering) {
this.partitioningFields = ordering.getInvolvedIndexes();
}
+ public void setDataDistribution(DataDistribution distribution) {
--- End diff --
Can you remove the `setDataDistribution` method and add a parameter to
`setRangePartitioned()` instead. Also add JavaDocs to `setRangePartitioned` to
explain that the distribution is optional and might be null.
---
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.
---