[
https://issues.apache.org/jira/browse/FLINK-5983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899619#comment-15899619
]
Shaoxuan Wang commented on FLINK-5983:
--------------------------------------
ok, the plan sounds good to me. The runtime processing function for aggregate
will be codeGened, and it is user's call to use java or scala user defined
aggregate functions ---- and if it is written in scala the user is responsible
for the performance.
> 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)