jordepic commented on code in PR #14578:
URL: https://github.com/apache/iceberg/pull/14578#discussion_r2524350778


##########
flink/v2.1/flink/src/main/java/org/apache/iceberg/flink/sink/dynamic/TableUpdater.java:
##########
@@ -81,11 +91,14 @@ private void findOrCreateTable(TableIdentifier identifier, 
Schema schema, Partit
       LOG.info("Table {} not found during table search. Creating table.", 
identifier);
       try {
         Table table = catalog.createTable(identifier, schema, spec);
+        UpdateProperties updateProperties = table.updateProperties();
+        tableProperties.forEach(updateProperties::set);
+        updateProperties.commit();

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to