[
https://issues.apache.org/jira/browse/HIVE-28219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Kuzmenko resolved HIVE-28219.
-----------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> Support drop partitions by names in IMetaStoreClient
> ----------------------------------------------------
>
> Key: HIVE-28219
> URL: https://issues.apache.org/jira/browse/HIVE-28219
> Project: Hive
> Issue Type: New Feature
> Components: Hive
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> In thrift api definition, HMS support to drop partitions by both partition
> names and expressions:
> {code:bash}
> // hive_metastore.thrift
> DropPartitionsResult drop_partitions_req(1: DropPartitionsRequest req)
> throws(1:NoSuchObjectException o1, 2:MetaException o2)
> // Request type for drop_partitions_req
> struct DropPartitionsRequest {
> // ...
> 3: required RequestPartsSpec parts,
> // ...
> }
> union RequestPartsSpec {
> 1: list<string> names;
> 2: list<DropPartitionsExpr> exprs;
> }
> {code}
> But current api in `IMetaStoreClient` only support drop partitions by
> expressions, we should add new api to support drop partitions by names.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)