You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/04/25 12:08:00 UTC
[jira] [Commented] (FLINK-17377) Support variable substitution in
Flink SQL
[ https://issues.apache.org/jira/browse/FLINK-17377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17092195#comment-17092195 ]
Jark Wu commented on FLINK-17377:
---------------------------------
Some more information, Hive also supports variable substitution:
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution
> Support variable substitution in Flink SQL
> ------------------------------------------
>
> Key: FLINK-17377
> URL: https://issues.apache.org/jira/browse/FLINK-17377
> Project: Flink
> Issue Type: New Feature
> Components: Table SQL / API, Table SQL / Client
> Affects Versions: 1.10.0
> Reporter: Guangbin Zhu
> Priority: Major
>
> FlinkSQL does not support variable substitution like hive.
> {code:java}
> SET k1=v1;
> Select * from table where key=${k1}{code}
> This is a common and great useful feature that Flink should support.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)