flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gábor Hermann (JIRA) <j...@apache.org>
Subject [jira] [Created] (FLINK-2184) Cannot get last element with maxBy/minBy
Date Mon, 08 Jun 2015 14:05:00 GMT
Gábor Hermann created FLINK-2184:

             Summary: Cannot get last element with maxBy/minBy
                 Key: FLINK-2184
                 URL: https://issues.apache.org/jira/browse/FLINK-2184
             Project: Flink
          Issue Type: Improvement
          Components: Scala API, Streaming
            Reporter: Gábor Hermann
            Priority: Minor

In the streaming Scala API there is no method
{{maxBy(int positionToMaxBy, boolean first)}}
{{minBy(int positionToMinBy, boolean first)}}
like in the Java API, where _first_ set to {{true}} indicates that the latest found element
will return.

These methods should be added to the Scala API too, in order to be consistent.

This message was sent by Atlassian JIRA

View raw message