You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2020/07/24 07:04:00 UTC

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

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)