@Override
    public Table getTable(String dbName, String tblName) {
        Table table;
        try {
            table = hmsOps.getTable(dbName, tblName);
        } catch (StarRocksConnectorException e) {
            LOG.error("Failed to get hive table [{}.{}.{}]", catalogName, dbName, tblName, e);
            throw e;
        } catch (Exception e) {
            LOG.error("Failed to get hive table [{}.{}.{}]", catalogName, dbName, tblName, e);
            return null;
        }

        return table;
    }
@Test
    public void testGetTableThrowConnectorException() {
        new Expectations(hmsOps) {
            {
                hmsOps.getTable("acid_db", "acid_table");
                result = new StarRocksConnectorException("hive acid table is not supported");
                minTimes = 1;
            }
        };

        Assert.assertThrows(StarRocksConnectorException.class,
                () -> hiveMetadata.getTable("acid_db", "acid_table"));
    }