Github user gatorsmile commented on the pull request:
https://github.com/apache/spark/pull/12801#issuecomment-218589737
**Update:**
- Reverted the code changes.
1. Users are allowed to specify the partial partition spec. For
example, given a table with four partitions [a='1', b='x'], [a='2', b='x'],
[a='1', b='y'], [a='2', b='y'], users can drop partitions by [a='1'] or [b='x]
2. Users are also allowed to specify multiple partition specs in the
same command.
- Re-implemented the `dropPartitions` in `HiveClientImpl`. Now, we always
check if all the user-specified partition specs exist before attempting to drop
the partitions. Previously, we start drop the partition before completing
checking the existence of all the partition specs.
- If any failure happened after we start to drop the partitions, we will
log an error message to indicate which partitions have been dropped and which
partitions have not been dropped.
- Updated the checking logics of partition spec.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]