You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2020/02/10 13:54:00 UTC

[jira] [Created] (FLINK-15974) Support to use the Python UDF directly in the Python Table API

Dian Fu created FLINK-15974:
-------------------------------

             Summary: Support to use the Python UDF directly in the Python Table API
                 Key: FLINK-15974
                 URL: https://issues.apache.org/jira/browse/FLINK-15974
             Project: Flink
          Issue Type: Improvement
          Components: API / Python
            Reporter: Dian Fu
             Fix For: 1.11.0


Currently, a Python UDF has been registered before using in Python Table API, e.g.
{code}
t_env.register_function("inc", inc)
table.select("inc(id)") \
         .insert_into("sink")
{code}

It would be great if we could support to use Python UDF directly in the Python Table API, e.g.
{code}
table.select(inc("id")) \
         .insert_into("sink")
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)