[ https://issues.apache.org/jira/browse/FLINK-9484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17337049#comment-17337049 ]
Leonard Xu commented on FLINK-9484: ----------------------------------- I found this improvement has been implemented inĀ FLIP-65, I close this ticket. Please open new ticket if you found anything is not supported yet. > Improve generic type inference for User-Defined Functions > --------------------------------------------------------- > > Key: FLINK-9484 > URL: https://issues.apache.org/jira/browse/FLINK-9484 > Project: Flink > Issue Type: Improvement > Components: Table SQL / API > Reporter: Rong Rong > Assignee: Rong Rong > Priority: Major > > User-defined function has been a great extension for Flink SQL API to support > much complex logics. > We experienced many inconvenience when dealing with UDF with generic types > and are summarized in the following > [doc|https://docs.google.com/document/d/1zKSY1z0lvtQdfOgwcLnCMSRHew3weeJ6QfQjSD0zWas/edit?usp=sharing]. > Detail implementation plans are listed in sub-tasks for the generic type > inference / functioncatalog look up. > In discussion topic: Can we optimize codegen while provide flexibility for > output type generic, by the method in FLINK-9430 to chaining: generic result > type UDF function with CAST operator. > Initial thought here is to add an logical plan optimizer rule to create a > UDFGenericResultTypeCast operator. -- This message was sent by Atlassian Jira (v8.3.4#803005)