flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Mushin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4330) Consider removing min()/minBy()/max()/maxBy()/sum() utility methods from the DataStream API
Date Thu, 01 Dec 2016 10:24:58 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15711574#comment-15711574
] 

Anton Mushin commented on FLINK-4330:
-------------------------------------

Hi everyone.
Components name in this issue confuse me. I don't see min()/minBy()/max()/maxBy()/sum() methods
in DataStream class.
bq. I think we should deprecate and remove them by the time we have a suitable replacement
via the Table API.
[~StephanEwen], do exist issue about it? 
If no. Is it should be sub-tasks?

> Consider removing min()/minBy()/max()/maxBy()/sum() utility methods from the DataStream
API
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-4330
>                 URL: https://issues.apache.org/jira/browse/FLINK-4330
>             Project: Flink
>          Issue Type: Sub-task
>          Components: DataStream API
>            Reporter: Robert Metzger
>             Fix For: 2.0.0
>
>
> I think we should consider removing the min()/minBy()/max()/maxBy()/sum() utility methods
from the DataStream API. They make the maintenance of the code unnecessary complicated, and
don't add enough value for the users (who can not access the window metadata).
> If we are keeping the methods, we should consolidate the min/minBy methods: the difference
is subtle, and minBy can subsume the min method.



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

Mime
View raw message