[
https://issues.apache.org/jira/browse/FLINK-26542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-26542:
-----------------------------------
Labels: pull-request-available (was: )
> Hive dialect supports queries with multiple same columns in select
> -------------------------------------------------------------------
>
> Key: FLINK-26542
> URL: https://issues.apache.org/jira/browse/FLINK-26542
> Project: Flink
> Issue Type: Sub-task
> Components: Connectors / Hive
> Reporter: luoyuxia
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.0
>
>
> With Hive dialect, when select cluster contains multiple same columns,
> it'll will throw
> {code:java}
> tableEnv.executeSql("create table src(key string, value string)");
> tableEnv.executeSql("create table src2(key string, value string)");
> List<Row> results =
> queryResult(
> tableEnv.sqlQuery(
> "select key, value from src union all select
> key, key from src2"));
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)