public static CatalogTable buildWithConfig(Config config) {
        ReadonlyConfig readonlyConfig = ReadonlyConfig.fromConfig(config);
        return buildWithConfig(readonlyConfig);
    }
@Test
    public void testDefaultTablePath() throws FileNotFoundException, URISyntaxException {
        String path = getTestConfigFile("/conf/default_tablepath.conf");
        Config config = ConfigFactory.parseFile(new File(path));
        Config source = config.getConfigList("source").get(0);
        ReadonlyConfig sourceReadonlyConfig = ReadonlyConfig.fromConfig(source);
        CatalogTable catalogTable = CatalogTableUtil.buildWithConfig(sourceReadonlyConfig);
        Assertions.assertEquals(
                TablePath.DEFAULT.getDatabaseName(), catalogTable.getTablePath().getDatabaseName());
        Assertions.assertEquals(
                TablePath.DEFAULT.getSchemaName(), catalogTable.getTablePath().getSchemaName());
        Assertions.assertEquals(
                TablePath.DEFAULT.getTableName(), catalogTable.getTablePath().getTableName());
    }