flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-7] [Runtime] Enable Range Partitioner.
Date Wed, 04 Nov 2015 22:51:41 GMT
Github user fhueske commented on a diff in the pull request:

    --- Diff: flink-optimizer/src/main/java/org/apache/flink/optimizer/dag/PartitionNode.java
    @@ -119,7 +121,14 @@ public SingleInputPlanNode instantiate(Channel in, SingleInputNode
node) {
     				rgps.setCustomPartitioned(this.keys, this.customPartitioner);
     			case RANGE:
    -				throw new UnsupportedOperationException("Not yet supported");
    +				// Initiate Ordering as ascending here as no order parameter in API level,
    +				// we could revisit this while order is required in future optimization.
    +				Ordering ordering = new Ordering();
    +				for (int filed : this.keys) {
    --- End diff --
    typo: `filed` -> `field`

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message