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

Timo Walther commented on FLINK-5983:
-------------------------------------

We thought about that multiple times, but the consensus was to let the Table 
API be implemented entirely in Scala (no mixture of different languages). In a 
long-term perspective we will code generate the content of the functions 
anyway, so there will be only Java code executed during runtime and only some 
Scala code in the open() functions.

> 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)

Reply via email to