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

    https://github.com/apache/incubator-flink/pull/194#discussion_r20705922
  
    --- Diff: 
flink-compiler/src/test/java/org/apache/flink/compiler/custompartition/CustomPartitioningGlobalOptimizationTest.java
 ---
    @@ -49,10 +52,11 @@ public void testJoinReduceCombination() {
                        DataSet<Tuple2<Long, Long>> input1 = 
env.fromElements(new Tuple2<Long, Long>(0L, 0L));
                        DataSet<Tuple3<Long, Long, Long>> input2 = 
env.fromElements(new Tuple3<Long, Long, Long>(0L, 0L, 0L));
                        
    -                   DataSet<Tuple3<Long, Long, Long>> joined = 
input1.join(input2)
    +                   ProjectJoin<Tuple2<Long, Long>,Tuple3<Long, Long, 
Long>,Tuple3<Long, Long, Long>> projectjoin = input1.join(input2)
                                .where(1).equalTo(0)
    -                           
.projectFirst(0,1).projectSecond(2).types(Long.class, Long.class, Long.class)
    -                           .withPartitioner(partitioner);
    +                           .projectFirst(0,1).projectSecond(2);
    +                   
    +                   DataSet<Tuple3<Long, Long, Long>> joined = 
projectjoin.withPartitioner(partitioner);
    --- End diff --
    
    Yes, we can open a JIRA issue after this branch merged. 


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