hililiwei commented on code in PR #4670:
URL: https://github.com/apache/iceberg/pull/4670#discussion_r865507088


##########
flink/v1.13/flink/src/main/java/org/apache/iceberg/flink/FlinkDynamicTableFactory.java:
##########
@@ -71,6 +72,12 @@ public class FlinkDynamicTableFactory implements 
DynamicTableSinkFactory, Dynami
           .noDefaultValue()
           .withDescription("Table name managed in the underlying iceberg 
catalog and database.");
 
+  private static final ConfigOption<Boolean> WRITE_UPSERT_ENABLED =
+      ConfigOptions.key("write-upsert-enabled")
+          .booleanType()
+          .defaultValue(false)
+          .withDescription("Whether to transform all INSERT/UPDATE_AFTER 
events to UPSERT.");
+
   // Flink 1.13.x change the return type from CatalogTable interface to 
ResolvedCatalogTable which extends the
   // CatalogTable. Here we use the dynamic method loading approach to avoid 
adding explicit CatalogTable or
   // ResolvedCatalogTable class into the iceberg-flink-runtime jar for 
compatibility purpose.

Review Comment:
   you mean here?
   https://github.com/apache/iceberg/pull/4246#discussion_r817304711
   
   https://github.com/apache/iceberg/pull/4246



-- 
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