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-2998] Support range partition compariso...
Date Thu, 14 Apr 2016 16:38:49 GMT
Github user fhueske commented on a diff in the pull request:

    --- Diff: flink-optimizer/src/test/java/org/apache/flink/optimizer/operators/CoGroupGlobalPropertiesCompatibilityTest.java
    @@ -95,6 +97,32 @@ public int partition(Object key, int numPartitions) {
     				assertTrue(descr.areCompatible(reqLeft, reqRight, propsLeft, propsRight));
    +			TestDistribution dist1 = new TestDistribution(1);
    +			TestDistribution dist2 = new TestDistribution(1);
    +			// test compatible range partitioning
    +			{
    --- End diff --
    Can you add a checks with two keys, one DESC and one ASC? 
    Orders of both should be the same to check if it is correctly identified as compatible.

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