public Properties getSchema() {
    return MetaStoreUtils.getSchema(tPartition, table.getTTable());
  }
Initializes this object with the given variables

@param table
         Table the partition belongs to
@param tPartition
         Thrift Partition object
@throws HiveException
          Thrown if we cannot initialize the partition
ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java