diff --git a/lakesoul-flink/src/main/java/org/apache/flink/lakesoul/entry/SyncDatabase.java b/lakesoul-flink/src/main/java/org/apache/flink/lakesoul/entry/SyncDatabase.java index e9e6bf5e8..1fb06ba9f 100644 --- a/lakesoul-flink/src/main/java/org/apache/flink/lakesoul/entry/SyncDatabase.java +++ b/lakesoul-flink/src/main/java/org/apache/flink/lakesoul/entry/SyncDatabase.java @@ -243,8 +243,6 @@ public static void xsyncToPg(StreamExecutionEnvironment env) throws SQLException Statement statement = conn.createStatement(); // Create the target table in MySQL statement.executeUpdate(createTableSql.toString()); -// String createCatalog = "create catalog postgres_catalog with('type'='jdbc','default-database'=" + "'" + targetDatabase + "'" + "," + "'username'=" + -// "'" + username + "'" + "," + "'password'=" + "'" + password + "'" + "," + "'base-url'=" + "'" + url + "'" + ")"; StringBuilder coulmns = new StringBuilder(); for (int i = 0; i < fieldTypes.length; i++) { if (stringFieldsTypes[i].equals("BYTEA")) {