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

Reply via email to