private void runGetPartitionsUsingNames() throws TException {
    List<String> names = client.listPartitionNames(dbName, tblName, (short) -1);
    // remove one to make sure that the test is really looking at 3 names
    names.remove(names.size() - 1);
    getPartitionsWithNames(names, 3);
    // filter mode is set. Empty filter names. So no partitions should be returned
    getPartitionsWithNames(Arrays.asList(""), 0);
    // invalid name
    getPartitionsWithNames(Arrays.asList("invalidPartitionName"), 0);
  }
Confirms if the partitionWithoutSD object at partitionWithoutSDSIndex index has all the
projected fields set to values which are same as the ones set in origPartitions
@param projectedFields
@param sharedSD
@param partitionWithoutSDS
@param partitionWithoutSDSIndex
@throws IllegalAccessException
@throws InvocationTargetException
@throws NoSuchMethodException
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestGetPartitionsUsingProjectionAndFilterSpecs.java