@Override
  public void renamePartition(String catName, String dbname, String tableName, List<String> partitionVals,
      Partition newPart, String validWriteIds, long txnId, boolean makeCopy) throws TException {
    org.apache.hadoop.hive.metastore.api.Table table = getTempTable(dbname, tableName);
    if (table == null) {
      super.renamePartition(catName, dbname, tableName, partitionVals, newPart, validWriteIds, txnId, makeCopy);
      return;
    }
    TempTable tt = getPartitionedTempTable(table);
    tt.renamePartition(partitionVals, newPart);
  }
@param partialPvals partition values, can be partial.  This really means that missing values
                   are represented by empty str.
@param maxParts maximum number of partitions to fetch, or -1 for all
ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java