You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Li (Jira)" <ji...@apache.org> on 2020/08/12 08:37:00 UTC

[jira] [Updated] (FLINK-18900) HiveCatalog should error out when listing partitions with an invalid spec

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

Rui Li updated FLINK-18900:
---------------------------
    Description: 
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.

> 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
>            Priority: Major
>             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)