SteNicholas commented on code in PR #311:
URL: https://github.com/apache/flink-table-store/pull/311#discussion_r993463151


##########
flink-table-store-core/src/main/java/org/apache/flink/table/store/file/mergetree/compact/PartialUpdateMergeFunction.java:
##########
@@ -54,9 +53,15 @@ public void reset() {
 
     @Override
     public void add(KeyValue kv) {
-        checkArgument(
-                kv.valueKind() == RowKind.INSERT || kv.valueKind() == 
RowKind.UPDATE_AFTER,
-                "Partial update can not accept delete records. Partial delete 
is not supported!");
+        if (kv.valueKind() == RowKind.UPDATE_BEFORE || kv.valueKind() == 
RowKind.DELETE) {

Review Comment:
   Remove the `RowKind.UPDATE_BEFORE` check.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to