[jira] [Created] (FLINK-1364) No simple way to group on the whole Tuple/element for DataSets/Streams

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-1364) No simple way to group on the whole Tuple/element for DataSets/Streams

Shang Yuanchun (Jira)
Gyula Fora created FLINK-1364:
---------------------------------

             Summary: No simple way to group on the whole Tuple/element for DataSets/Streams
                 Key: FLINK-1364
                 URL: https://issues.apache.org/jira/browse/FLINK-1364
             Project: Flink
          Issue Type: Improvement
          Components: Java API, Scala API, Streaming
    Affects Versions: 0.9
            Reporter: Gyula Fora
            Priority: Minor


Currently there is no simple way of grouping on the whole tuple/element. Right now the user needs to specify a trivial keyselector which returns the element itself.

I suggest to add a dedicated method for this functionality.

For instance if no arguments are passed to the groupBy call it would group on the elements.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)