You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2022/09/05 08:12:00 UTC
[jira] [Created] (FLINK-29191) Hive dialect can't get value for the variables set by set command
luoyuxia created FLINK-29191:
--------------------------------
Summary: Hive dialect can't get value for the variables set by set command
Key: FLINK-29191
URL: https://issues.apache.org/jira/browse/FLINK-29191
Project: Flink
Issue Type: Bug
Components: Connectors / Hive
Affects Versions: 1.16.0
Reporter: luoyuxia
Fix For: 1.16.0
When using Hive dialect, we can useĀ
{code:java}
set k1=v1;
{code}
to set variable to Flink's table config.
But if we want the get the value for `k1` by usingĀ
{code:java}
set k1;
{code}
we will get nothing.
The reason is Hive dialect won't lookup the vairable in Flink's table config.
To fix it, we also need to lookup in link's table config.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)