[
https://issues.apache.org/jira/browse/FLINK-15040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988418#comment-16988418
]
Jark Wu commented on FLINK-15040:
---------------------------------
I'm not sure whether it is a bug in 1.6. Did you try in v1.9 or on master?
> 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)