You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2021/01/22 08:09:00 UTC
[jira] [Assigned] (FLINK-21026) Align column list specification
with Hive in INSERT statement
[ https://issues.apache.org/jira/browse/FLINK-21026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingsong Lee reassigned FLINK-21026:
------------------------------------
Assignee: Zhenghua Gao
> Align column list specification with Hive in INSERT statement
> -------------------------------------------------------------
>
> Key: FLINK-21026
> URL: https://issues.apache.org/jira/browse/FLINK-21026
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Reporter: Zhenghua Gao
> Assignee: Zhenghua Gao
> Priority: Major
> Labels: pull-request-available
>
> HIVE-9481 allows column list specification in INSERT statement. The syntax is:
> {code:java}
> INSERT INTO TABLE table_name
> [PARTITION (partcol1[=val1], partcol2[=val2] ...)]
> [(column list)]
> select_statement FROM from_statement
> {code}
> In the MeanWhile, flink introduces PARTITION syntax that the PARTITION clause appears after the COLUMN LIST clause. It looks weird and luckily we don't support COLUMN LIST clause now. I think it'a good chance to align this with Hive now.
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)