JingsongLi commented on code in PR #487:
URL: https://github.com/apache/flink-table-store/pull/487#discussion_r1071971465


##########
flink-table-store-core/src/main/java/org/apache/flink/table/store/table/sink/TableCommit.java:
##########
@@ -48,6 +48,14 @@ public TableCommit(FileStoreCommit commit, @Nullable 
FileStoreExpire expire) {
     }
 
     public TableCommit withOverwritePartition(@Nullable Map<String, String> 
overwritePartition) {
+        if (overwritePartition != null) {
+            this.overwritePartition = 
Collections.singletonList(overwritePartition);
+        }
+        return this;
+    }
+
+    public TableCommit withOverwritePartition(

Review Comment:
   `withOverwritePartitions`



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

Reply via email to