You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gary Yao (Jira)" <ji...@apache.org> on 2020/01/08 14:51:00 UTC

[jira] [Commented] (FLINK-15040) Open function is not called in UDF AggregateFunction

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

Gary Yao commented on FLINK-15040:
----------------------------------

[~Guobao] Where you able to test against 1.9? 

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