[
https://issues.apache.org/jira/browse/HIVE-27150?focusedWorklogId=851638&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-851638
]
ASF GitHub Bot logged work on HIVE-27150:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Mar/23 09:49
Start Date: 19/Mar/23 09:49
Worklog Time Spent: 10m
Work Description: wecharyu opened a new pull request, #4123:
URL: https://github.com/apache/hive/pull/4123
### What changes were proposed in this pull request?
We want to reuse the `dropPartitionsInternal()` method for
`drop_partition_common` api to enjoy the high performance, to achieve this we
will refactor the `RawStore#dropPartition` api.
### Why are the changes needed?
1. support direct sql for drop single partition
2. reduce one query to the DB, that is MPartition query in
`ObjectStore#dropPartition`
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Pass all existing tests.
Issue Time Tracking
-------------------
Worklog Id: (was: 851638)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Time Spent: 10m
> 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)