@Test
  public void testDropTableIgnoreUnknown() throws Exception {
    Table table = testTables[0];

    // Check what happens, when we ignore these errors
    client.dropTable("no_such_database", table.getTableName(), true, true);
    client.dropTable(table.getDbName(), "no_such_table", false, true);
    client.dropTable(OTHER_DATABASE, table.getTableName(), true, true);

    // TODO: Strangely the default parametrization is to ignore missing tables
    client.dropTable("no_such_database", table.getTableName());
    client.dropTable(table.getDbName(), "no_such_table");
    client.dropTable(OTHER_DATABASE, table.getTableName());
  }
This test creates and queries a table and then drops it. Good for testing the happy path
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java