Description
When attempting to drop partitions of a table, if the user provides an unknown column, Hive will drop all the partitions of the table, which is likely not intended. E.g.
ALTER TABLE my_tab DROP PARTITION (ds='2008-04-09', unknownCol='12')
We should verify that the columns provided in the specs are actually partitioned columns.
Attachments
Issue Links
- blocks
-
SPARK-14603 SessionCatalog needs to check if a metadata operation is valid
- Resolved
- links to