void alterPartition(Partition partition) throws MetaException, InvalidOperationException, NoSuchObjectException {
    pTree.alterPartition(partition.getValues(), partition, false);
  }
This stores partition information for a temp table.
ql/src/java/org/apache/hadoop/hive/ql/metadata/TempTable.java