flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rui Li (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-22408) Flink Table Parsr Hive Drop Partitions Syntax unparse is Error
Date Wed, 12 May 2021 08:58:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-22408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342469#comment-17342469
] 

Rui Li edited comment on FLINK-22408 at 5/12/21, 8:57 AM:
----------------------------------------------------------

Fixed in master: 3b5f39996abdc808a6703bb235523d43871f07c5
Fixed in release-1.13: TBD
Fixed in release-1.12: 9e5b0d408b110bbc56987c383435be9c3da394ac


was (Author: lirui):
Fixed in master: TBD
Fixed in release-1.13: TBD
Fixed in release-1.12: 9e5b0d408b110bbc56987c383435be9c3da394ac

> Flink Table Parsr Hive Drop Partitions Syntax unparse is Error
> --------------------------------------------------------------
>
>                 Key: FLINK-22408
>                 URL: https://issues.apache.org/jira/browse/FLINK-22408
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>    Affects Versions: 1.11.3
>            Reporter: Ma Jun
>            Assignee: Ma Jun
>            Priority: Major
>              Labels: pull-request-available
>
> Flink Table Parser is error:
> *Synopsis:*
>  
> *SQL:*
> {code:java}
> alter table tbl drop partition (p1='a',p2=1), partition(p1='b',p2=2);{code}
> *hive muit partition unparse toSqlString is :*
> {code:java}
> ALTER TABLE `TBL`\n" +
>       "DROP\n" +
>       "PARTITION (`P1` = 'a', `P2` = 1)\n" +
>       "PARTITION (`P1` = 'b', `P2` = 2)
> {code}
> Missing comma in Partition SqlNodeList 
>  Hive syntax:
> {code:java}
> ALTER TABLE table_name DROP [IF EXISTS] PARTITION (partition_spec) [, PARTITION (partition_spec)];
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message