public static void createTable(final Connection conn, final PostgreSQLTableInfo tableInfo)
            throws Exception {
        if (checkTablesExist(conn, tableInfo.getSchemaName(), tableInfo.getTableName())) {
            LOG.info("the table [{}] are exists", tableInfo.getTableName());
        } else {
            final List<String> createTableSqls = PostgreSQLSqlBuilder.buildCreateTableSql(tableInfo);
            executeSqlBatch(conn, createTableSqls);
            LOG.info("execute sql [{}] success", createTableSqls);
        }
    }
Create Greenplum table by GreenplumTableInfo

@param conn JDBC Connection  {@link Connection}
@param tableInfo Greenplum table info  {@link PostgreSQLTableInfo}
@throws Exception on create table error
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/postgresql/PostgreSQLJdbcUtils.java