@Test(expected = MetaException.class)
  @ConditionalIgnoreOnSessionHiveMetastoreClient
  public void testListPartitionsByFilterHighMaxParts() throws Exception {
    createTableNParts(client, false, 101);
    client.listPartitionsByFilter(DB_NAME, TABLE_NAME, "yyyy=\"2017\"", (short)101);
  }
Testing listPartitionsByFilter(String,String,String,short) ->
        get_partitions_by_filter(String,String,String,short).
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java