@Override
  public GetPartitionsByNamesResult getPartitionsByNames(GetPartitionsByNamesRequest req) throws TException {
    org.apache.hadoop.hive.metastore.api.Table table = getTempTable(req.getDb_name(), req.getTbl_name());
    if (table == null) {
      //(assume) not a temp table - Try underlying client
      return super.getPartitionsByNames(req);
    }
    TempTable tt = getPartitionedTempTable(table);
    GetPartitionsByNamesResult result = new GetPartitionsByNamesResult();
    result.setPartitions(deepCopyPartitions(tt.getPartitionsByNames(req.getNames())));

    return result;
  }
@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