[
https://issues.apache.org/jira/browse/FLINK-15040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16987581#comment-16987581
]
Jark Wu commented on FLINK-15040:
---------------------------------
Hi [~Guobao], thanks for reporting this. Could you give more hints about this
issue? For example, what version are you using? what planner are you using? is
it a window aggregation or over-window aggregation or regular aggregation?
> Open function is not called in UDF AggregateFunction
> ----------------------------------------------------
>
> Key: FLINK-15040
> URL: https://issues.apache.org/jira/browse/FLINK-15040
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: LI Guobao
> Priority: Major
>
> I am trying to register a metric in an aggregate UDF by overriding the *open*
> function. According to the documentation, the *open* function can be override
> in order to retrieve the metric group to do the metric registration. But it
> works only on ScalarFunction not on AggregateFunction. Since the *open*
> function is not call by AggregateFunction.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)