[
https://issues.apache.org/jira/browse/FLINK-5915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950571#comment-15950571
]
ASF GitHub Bot commented on FLINK-5915:
---------------------------------------
Github user shaoxuan-wang commented on the issue:
https://github.com/apache/flink/pull/3647
Thanks @fhueske, I overlooked a list is not always an arraylist. I change
it to scala array, but keep the type as integer, as this is type returned (and
not easy to be casted to Int) from aggregateCall.getArgList. I updated PR and
also rebased to the master (as I noticed there are a few over aggregates have
been recently merged), so it will be easier for you to merge.
> Add support for the aggregate on multi fields
> ---------------------------------------------
>
> Key: FLINK-5915
> URL: https://issues.apache.org/jira/browse/FLINK-5915
> Project: Flink
> Issue Type: Sub-task
> Components: Table API & SQL
> Reporter: Shaoxuan Wang
> Assignee: Shaoxuan Wang
>
> some UDAGGs have multi-fields as input. For instance,
> table
> .window(Tumble over 10.minutes on 'rowtime as 'w )
> .groupBy('key, 'w)
> .select('key, weightedAvg('value, 'weight))
> This task will add the support for the aggregate on multi fields.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)