Details
Description
After the change of HIVE-4914, we always push the partition expression to metastore, to avoid filtering partition by partition names.
And HIVE-4914 added some protection in Partition pruner, in case that metastore may not have api of get_partitions_by_expr.
Therefore, we should also add similar protection to another calling point, when dealing with "alter table drop partition".