HIVE-2907. Hive error when dropping a table with large number of partitions. (mousom via kevinwilfong)