diff --git a/paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/procedure/CompactProcedure.java b/paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/procedure/CompactProcedure.java index eaf7e3a00e1f..801574818e80 100644 --- a/paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/procedure/CompactProcedure.java +++ b/paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/procedure/CompactProcedure.java @@ -384,7 +384,7 @@ private void compactUnAwareBucketTable( for (byte[] serializedMessage : serializedMessages) { messages.add( messageSerializerser.deserialize( - serializer.getVersion(), serializedMessage)); + messageSerializerser.getVersion(), serializedMessage)); } commit.commit(messages); } catch (Exception e) {