Description
To determine if a column descriptor is unused, we call listStorageDescriptorsWithCD(), which may return a big list of SDs. This can severely slow down dropping partitions.
We can add a maximum number of SDs to return, and just ask for 1 SD, since we are just doing an existential check.
Attachments
Attachments
Issue Links
- requires
-
HIVE-2246 Dedupe tables' column schemas from partitions in the metastore db
- Closed