tillrohrmann closed pull request #7218: [BP-1.7][FLINK-11047] Fix 
CoGroupGroupSortTranslationTest by specyfing types
URL: https://github.com/apache/flink/pull/7218
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/flink-tests/src/test/scala/org/apache/flink/api/scala/operators/translation/CoGroupGroupSortTranslationTest.scala
 
b/flink-tests/src/test/scala/org/apache/flink/api/scala/operators/translation/CoGroupGroupSortTranslationTest.scala
index bf07aa0437f..1d571d0b3f4 100644
--- 
a/flink-tests/src/test/scala/org/apache/flink/api/scala/operators/translation/CoGroupGroupSortTranslationTest.scala
+++ 
b/flink-tests/src/test/scala/org/apache/flink/api/scala/operators/translation/CoGroupGroupSortTranslationTest.scala
@@ -128,7 +128,11 @@ class CoGroupGroupSortTranslationTest extends TestLogger {
         .where(1).equalTo(2)
         .sortFirstGroup(0, Order.DESCENDING)
         .sortSecondGroup(1, Order.ASCENDING).sortSecondGroup(0, 
Order.DESCENDING)
-        .apply((a, b, c: Collector[(Long, Long)]) => a.foreach(e => 
c.collect(e)))
+        .apply(
+          (a: Iterator[(Long, Long)],
+            b: Iterator[(Long, Long, Long)],
+            c: Collector[(Long, Long)]) =>
+            a.foreach(e => c.collect(e)))
         .output(new DiscardingOutputFormat[(Long, Long)])
         
       val p = env.createProgramPlan()


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to