Listing partitions before dropping partitions

Use listPartitions with list of values