You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:05 UTC

[jira] [Updated] (FLINK-24094) Support DROP PARTITION by partial partition specification

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

Yun Gao updated FLINK-24094:
----------------------------
    Fix Version/s: 1.16.0

> Support DROP PARTITION by partial partition specification
> ---------------------------------------------------------
>
>                 Key: FLINK-24094
>                 URL: https://issues.apache.org/jira/browse/FLINK-24094
>             Project: Flink
>          Issue Type: New Feature
>          Components: Connectors / Hive
>    Affects Versions: 1.13.1
>            Reporter: lixu
>            Assignee: luoyuxia
>            Priority: Major
>             Fix For: 1.15.0, 1.16.0
>
>
> [https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/connectors/table/hive/hive_dialect/#drop-partitions]
> {code:java}
> //代码占位符
> Caused by: org.apache.flink.table.catalog.exceptions.PartitionSpecInvalidException: PartitionSpec CatalogPartitionSpec{{dt=2021-08-31}} does not match partition keys [dt, xtlx, sblx] of table test_flink.test_partition in catalog check_rule_base_hive_catalog.	at org.apache.flink.table.catalog.hive.HiveCatalog.getOrderedFullPartitionValues(HiveCatalog.java:1189) ~[flink-sql-connector-hive-2.3.6_2.11-1.13.1.jar:1.13.1]	at org.apache.flink.table.catalog.hive.HiveCatalog.dropPartition(HiveCatalog.java:899) ~[flink-sql-connector-hive-2.3.6_2.11-1.13.1.jar:1.13.1]	at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:982) ~[flink-table-blink_2.11-1.13.1.jar:1.13.1]	at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeSql(TableEnvironmentImpl.java:730) ~[flink-table-blink_2.11-1.13.1.jar:1.13.1]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)