[
https://issues.apache.org/jira/browse/HIVE-27150?focusedWorklogId=853827&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-853827
]
ASF GitHub Bot logged work on HIVE-27150:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Mar/23 04:17
Start Date: 30/Mar/23 04:17
Worklog Time Spent: 10m
Work Description: saihemanth-cloudera commented on code in PR #4123:
URL: https://github.com/apache/hive/pull/4123#discussion_r1152712297
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java:
##########
@@ -459,16 +459,15 @@ boolean doesPartitionExist(String catName, String dbName,
String tableName,
* @param catName catalog name.
* @param dbName database name.
* @param tableName table name.
- * @param part_vals list of partition values.
+ * @param partName partition name.
* @return true if the partition was dropped.
* @throws MetaException Error accessing the RDBMS.
* @throws NoSuchObjectException no partition matching this description
exists
* @throws InvalidObjectException error dropping the statistics for the
partition
* @throws InvalidInputException error dropping the statistics for the
partition
*/
- boolean dropPartition(String catName, String dbName, String tableName,
- List<String> part_vals) throws MetaException, NoSuchObjectException,
InvalidObjectException,
- InvalidInputException;
+ boolean dropPartition(String catName, String dbName, String tableName,
String partName)
Review Comment:
I would favor this change instead of passing the table into the drop
partition API in the object store.
Issue Time Tracking
-------------------
Worklog Id: (was: 853827)
Time Spent: 2h 40m (was: 2.5h)
> Drop single partition can also support direct sql
> -------------------------------------------------
>
> Key: HIVE-27150
> URL: https://issues.apache.org/jira/browse/HIVE-27150
> Project: Hive
> Issue Type: Improvement
> Components: Hive
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> *Background:*
> [HIVE-6980|https://issues.apache.org/jira/browse/HIVE-6980] supports direct
> sql for drop_partitions, we can reuse this huge improvement in drop_partition.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)