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

Ivan Mushketyk commented on FLINK-4029:
---------------------------------------

I am new to Flink, so I am a little bit confused about what would be the best 
way to implement this features.
Should I implement it on top of existing operators/streams or should I add a 
new operator/stream?
Should I add the "sum" method to DataStream class or to one of the specialized 
streams?

> Multi-field "sum" function just like "keyBy"
> --------------------------------------------
>
>                 Key: FLINK-4029
>                 URL: https://issues.apache.org/jira/browse/FLINK-4029
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Rami
>            Assignee: Ivan Mushketyk
>            Priority: Minor
>
> I can use keyBy as follows:
> stream.keyBy(“pojo.field1”,”pojo.field2”,…)
> Would make sense that I can use sum for example, to do its job for more than 
> one field:
> stream.sum(“pojo.field1”,”pojo.field2”,…)



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

Reply via email to