public static Partish buildFor(Partition part) {
    return new PPart(part.getTable(), part);
  }
Cover class to make it easier to make modifications on partitions/tables
ql/src/java/org/apache/hadoop/hive/ql/stats/Partish.java