[jira] [Created] (FLINK-19118) Support Expression in the operations of the Python Table API

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

[jira] [Created] (FLINK-19118) Support Expression in the operations of the Python Table API

Shang Yuanchun (Jira)
Dian Fu created FLINK-19118:
-------------------------------

             Summary: Support Expression in the operations of the Python Table API
                 Key: FLINK-19118
                 URL: https://issues.apache.org/jira/browse/FLINK-19118
             Project: Flink
          Issue Type: Sub-task
          Components: API / Python
            Reporter: Dian Fu
             Fix For: 1.12.0


Currently, it only supports string in the operations of the Python Table API.
For example:
{code}
>>> tab.group_by("key").select("key, value.avg")
{code}

After introducing the Expression class in FLINK-19114, it's possible to support
to use Expression in the operations in the Python Table API, e.g.
{code}
>>> tab.group_by(col("key")).select(col("key"), col("value").avg)
{code}



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