@Override
  public List<Partition> getPartitionsByFilter(String catName, String dbName, String tblName,
      GetPartitionsArgs args) throws MetaException, NoSuchObjectException {
    return getPartitionsByFilterInternal(catName, dbName, tblName, true, true, args);
  }
Detaches column descriptors from storage descriptors; returns the set of unique CDs
thus detached. This is done before dropping partitions because CDs are reused between
SDs; so, we remove the links to delete SDs and then check the returned CDs to see if
they are referenced by other SDs.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java