You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Huang Xingbo (Jira)" <ji...@apache.org> on 2022/11/16 09:53:00 UTC

[jira] [Assigned] (FLINK-21223) Support to specify the input/output types of Python UDFs via string

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

Huang Xingbo reassigned FLINK-21223:
------------------------------------

    Assignee: Huang Xingbo

> Support to specify the input/output types of Python UDFs via string
> -------------------------------------------------------------------
>
>                 Key: FLINK-21223
>                 URL: https://issues.apache.org/jira/browse/FLINK-21223
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Python
>            Reporter: Dian Fu
>            Assignee: Huang Xingbo
>            Priority: Not a Priority
>              Labels: auto-deprioritized-major, auto-deprioritized-minor, auto-unassigned
>
> Currently, users need to specify the input/output types as following:
> {code}
> {{@udf(result_type=DataTypes.BIGINT())
> def add(i, j):
>    return i + j
> }}{code}
> [FLIP-65|https://cwiki.apache.org/confluence/display/FLINK/FLIP-65%3A+New+type+inference+for+Table+API+UDFs] makes it possible to support syntaxes as following:
> {code}
> {{@udf(result_type="BIGINT")
> def add(i, j):
>    return i + j
> }}{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)