@Test
  public void testGetPartitionsByNamesEmptyParts() throws Exception {
    List<List<String>> testValues = createTable4PartColsParts(client);

    List<Partition> partitions = client.getPartitionsByNames(DB_NAME, TABLE_NAME,
        Lists.newArrayList("", ""));
    assertEquals(0, partitions.size());

    partitions = client.getPartitionsByNames(DB_NAME, TABLE_NAME,
        Lists.newArrayList());
    assertEquals(0, partitions.size());
  }
Testing getPartitionsByNames(String,String,List(String)) ->
        get_partitions_by_names(PartitionsRequest).
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestGetPartitions.java