[jira] [Updated] (FLINK-22408) Flink Table Parsr Hive Drop Partitions Syntax unparse is Error

2021-05-12 Thread Rui Li (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-22408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rui Li updated FLINK-22408:
---
Fix Version/s: 1.12.5
   1.13.1
   1.14.0

> 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
> Fix For: 1.14.0, 1.13.1, 1.12.5
>
>
> 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)


[jira] [Updated] (FLINK-22408) Flink Table Parsr Hive Drop Partitions Syntax unparse is Error

2021-04-23 Thread Jark Wu (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-22408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jark Wu updated FLINK-22408:

Component/s: (was: Table SQL / Planner)
 (was: Table SQL / API)
 Connectors / Hive

> 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
>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)


[jira] [Updated] (FLINK-22408) Flink Table Parsr Hive Drop Partitions Syntax unparse is Error

2021-04-23 Thread Jark Wu (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-22408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jark Wu updated FLINK-22408:

Issue Type: Bug  (was: New Feature)

> 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: Table SQL / API, Table SQL / Planner
>Affects Versions: 1.11.3
>Reporter: 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)


[jira] [Updated] (FLINK-22408) Flink Table Parsr Hive Drop Partitions Syntax unparse is Error

2021-04-22 Thread Jark Wu (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-22408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jark Wu updated FLINK-22408:

Issue Type: New Feature  (was: Bug)

> 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: New Feature
>  Components: Table SQL / API, Table SQL / Planner
>Affects Versions: 1.11.3
>Reporter: 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)


[jira] [Updated] (FLINK-22408) Flink Table Parsr Hive Drop Partitions Syntax unparse is Error

2021-04-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-22408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-22408:
---
Labels: pull-request-available  (was: )

> 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: Table SQL / API, Table SQL / Planner
>Affects Versions: 1.11.3
>Reporter: 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)


[jira] [Updated] (FLINK-22408) Flink Table Parsr Hive Drop Partitions Syntax unparse is Error

2021-04-22 Thread Ma Jun (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-22408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ma Jun updated FLINK-22408:
---
Description: 
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}
 

  was:
Flink Table Parser is error:

*Synopsis:*

 

*SQL:*
{code:java}
alter table tbl drop partition (p1='a',p2=1), partition(p1='b',p2=2);{code}
*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}
 


> 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: Table SQL / API, Table SQL / Planner
>Affects Versions: 1.11.3
>Reporter: Ma Jun
>Priority: Major
>
> 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)