From b4fd212df81a5bcefb940f3f655257df5deb31c3 Mon Sep 17 00:00:00 2001 From: Jingsong Date: Wed, 16 Aug 2023 12:54:13 +0800 Subject: [PATCH] [hotfix] Remove exception for -U in PartialUpdateMergeFunction --- .../paimon/mergetree/compact/PartialUpdateMergeFunction.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/paimon-core/src/main/java/org/apache/paimon/mergetree/compact/PartialUpdateMergeFunction.java b/paimon-core/src/main/java/org/apache/paimon/mergetree/compact/PartialUpdateMergeFunction.java index 540391369bca..bf21e5d40313 100644 --- a/paimon-core/src/main/java/org/apache/paimon/mergetree/compact/PartialUpdateMergeFunction.java +++ b/paimon-core/src/main/java/org/apache/paimon/mergetree/compact/PartialUpdateMergeFunction.java @@ -94,11 +94,6 @@ public void add(KeyValue kv) { return; } - if (kv.valueKind() == RowKind.UPDATE_BEFORE) { - throw new IllegalArgumentException( - "Partial update can not accept update_before records, it is a bug."); - } - String msg = String.join( "By default, Partial update can not accept delete records,"