@Test
  public void testGetPartitions() throws TException {
    GetPartitionsRequest request = getGetPartitionsRequest();
    GetPartitionsResponse response = client.getPartitionsWithSpecs(request);
    validateBasic(response);
  }
Tests for getPartitionsWithSpecs metastore API. This test create some partitions and makes sure
that getPartitionsWithSpecs returns results which are comparable with the get_partitions API when
various combinations of projection spec are set. Also checks the JDO code path in addition to
directSQL code path
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestGetPartitionsUsingProjectionAndFilterSpecs.java