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

Jingsong Lee edited comment on FLINK-18900 at 8/28/20, 2:08 AM:
----------------------------------------------------------------

We should not modify method throws exception for {{Catalog.listPartitions}} in 
release-1.11.


was (Author: lzljs3620320):
We should not modify method throws exception for {{Catalog.listPartitions}}.

> HiveCatalog should error out when listing partitions with an invalid spec
> -------------------------------------------------------------------------
>
>                 Key: FLINK-18900
>                 URL: https://issues.apache.org/jira/browse/FLINK-18900
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>    Affects Versions: 1.11.1
>            Reporter: Rui Li
>            Assignee: Nicholas Jiang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.2
>
>
> Take the following case as an example:
> {code}
> create table tbl (x int) partitioned by (p int);
> alter table tbl add partition (p=1);
> {code}
> If we list partitions with partition spec {{foo=1}}, HiveCatalog returns 
> partition {{p=1}}, which is wrong.



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

Reply via email to