flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Neumann <mneum...@spotify.com>
Subject How to group and sort the output of a join
Date Wed, 15 Oct 2014 13:53:51 GMT

After a join operation I end up with a Tuple2<Tuple10<...>Tuple2<...>> I
now want to group it on field 1 from the first inner Tuple and then sort it
by field 1 in the 2nd inner tuple.

How do I do that? I think I need to use the key extractor to get the
correct field but sort does not take one.

cheers Martin

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message