@Override
    public boolean createTable(CreateTableStmt stmt) throws DdlException {
        return hmsOps.createTable(stmt);
    }
@Test
    public void testCreateTableTimeout() throws Exception {
        AnalyzeTestUtil.init();
        String stmt = "create table hive_catalog.hive_db.hive_table (k1 int, k2 int)";
        String sql =
                "CREATE EXTERNAL CATALOG hive_catalog PROPERTIES(\"type\"=\"hive\", \"hive.metastore.uris\"=\"thrift://127.0.0" +
                        ".1:9083\")";
        StarRocksAssert starRocksAssert = getStarRocksAssert();
        starRocksAssert.withCatalog(sql);
        new MockUp<HiveMetadata>() {
            @Mock
            public Database getDb(String dbName) {
                return new Database();
            }
        };

        new MockUp<HiveMetastoreOperations>() {
            @Mock
            public Path getDefaultLocation(String dbName, String tableName) {
                return new Path("xxxxx");
            }

            @Mock
            public boolean tableExists(String dbName, String tableName) {
                return true;
            }
        };

        new MockUp<HiveWriteUtils>() {
            @Mock
            public void createDirectory(Path path, Configuration conf) {

            }
        };

        new MockUp<CachingHiveMetastore>() {
            @Mock
            public void createTable(String dbName, Table table) {
                throw new StarRocksConnectorException("timeout");
            }
        };

        CreateTableStmt createTableStmt =
                (CreateTableStmt) UtFrameUtils.parseStmtWithNewParser(stmt, AnalyzeTestUtil.getConnectContext());

        Assert.assertTrue(hiveMetadata.createTable(createTableStmt));
    }