[ https://issues.apache.org/jira/browse/FLINK-5983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899577#comment-15899577 ]
Shaoxuan Wang commented on FLINK-5983: -------------------------------------- I love this proposal to replace scala for loops by while loops in the runtime functions. Thanks [~twalthr]. > Replace for/foreach/map in aggregates by while loops > ---------------------------------------------------- > > Key: FLINK-5983 > URL: https://issues.apache.org/jira/browse/FLINK-5983 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL > Reporter: Timo Walther > > Right now there is a mixture of different kinds of loops within aggregate > functions. Although performance is not the main goal at the moment, we should > focus on performant execution especially in this runtime functions. > e.g. {{DataSetTumbleCountWindowAggReduceGroupFunction}} > We should replace loops, maps etc. by primitive while loops. -- This message was sent by Atlassian JIRA (v6.3.15#6346)