You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rong Rong (JIRA)" <ji...@apache.org> on 2018/06/01 23:40:00 UTC

[jira] [Updated] (FLINK-9484) Improve generic type inference for User-Defined Functions

     [ https://issues.apache.org/jira/browse/FLINK-9484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rong Rong updated FLINK-9484:
-----------------------------
    Description: 
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.

  was:
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].

We are planning to implement the generic type inference / functioncatalog look up in multiple phases. Detail tickets will be created.


> 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 API &amp; SQL
>            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
(v7.6.3#76005)