[jira] [Created] (FLINK-18699) Allow variables for column names in Scala Table API

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

[jira] [Created] (FLINK-18699) Allow variables for column names in Scala Table API

Shang Yuanchun (Jira)
Timo Walther created FLINK-18699:
------------------------------------

             Summary: Allow variables for column names in Scala Table API
                 Key: FLINK-18699
                 URL: https://issues.apache.org/jira/browse/FLINK-18699
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / API
            Reporter: Timo Walther
            Assignee: Timo Walther


User have reported that the Scala API lacks a way to reference columns via a name that is stored in a variable. String interpolation is inconvenient in this case:

We should allow this also in Scala:
{code}
tab.select($(keyVar), $(valueVar))
{code}



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