Skip to content

Commit

Permalink
[FLINK-1845] [runtime] Fixup ReusingKeyGroupedIterator value iterator…
Browse files Browse the repository at this point in the history
…s in NonReusingSortMergeCoGroupIterator.

This closes #559
  • Loading branch information
aalexandrov authored and StephanEwen committed Apr 9, 2015
1 parent 1cff478 commit 8740d1e
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -22,7 +22,7 @@
import org.apache.flink.api.common.typeutils.TypePairComparator; import org.apache.flink.api.common.typeutils.TypePairComparator;
import org.apache.flink.api.common.typeutils.TypeSerializer; import org.apache.flink.api.common.typeutils.TypeSerializer;
import org.apache.flink.runtime.operators.util.CoGroupTaskIterator; import org.apache.flink.runtime.operators.util.CoGroupTaskIterator;
import org.apache.flink.runtime.util.ReusingKeyGroupedIterator; import org.apache.flink.runtime.util.NonReusingKeyGroupedIterator;
import org.apache.flink.util.MutableObjectIterator; import org.apache.flink.util.MutableObjectIterator;


import java.io.IOException; import java.io.IOException;
Expand All @@ -45,9 +45,9 @@ private static enum MatchStatus {


private TypePairComparator<T1, T2> comp; private TypePairComparator<T1, T2> comp;


private ReusingKeyGroupedIterator<T1> iterator1; private NonReusingKeyGroupedIterator<T1> iterator1;


private ReusingKeyGroupedIterator<T2> iterator2; private NonReusingKeyGroupedIterator<T2> iterator2;


// -------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------


Expand All @@ -61,8 +61,8 @@ public NonReusingSortMergeCoGroupIterator(


this.comp = pairComparator; this.comp = pairComparator;


this.iterator1 = new ReusingKeyGroupedIterator<T1>(input1, serializer1, groupingComparator1); this.iterator1 = new NonReusingKeyGroupedIterator<T1>(input1, groupingComparator1);
this.iterator2 = new ReusingKeyGroupedIterator<T2>(input2, serializer2, groupingComparator2); this.iterator2 = new NonReusingKeyGroupedIterator<T2>(input2, groupingComparator2);
} }


@Override @Override
Expand Down

0 comments on commit 8740d1e

Please sign in to comment.