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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)