@Override
    public Database getDb(String dbName) {
        Database database;
        try {
            database = hmsOps.getDb(dbName);
        } catch (Exception e) {
            LOG.error("Failed to get hive database [{}.{}]", catalogName, dbName, e);
            return null;
        }

        return database;
    }
@Test
    public void testGetDb() {
        Database database = hiveMetadata.getDb("db1");
        Assert.assertEquals("db1", database.getFullName());

    }