You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2026/04/03 04:36:13 UTC
(paimon) branch master updated: [hotfix] Fix incorrect integer comparison prevent misjudgment in chain table. (#7591)
This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new bb00b63dc2 [hotfix] Fix incorrect integer comparison prevent misjudgment in chain table. (#7591)
bb00b63dc2 is described below
commit bb00b63dc25a1c4a138dce2bd41a6fc00a1721d7
Author: Wenchao Wu <60...@users.noreply.github.com>
AuthorDate: Fri Apr 3 12:36:06 2026 +0800
[hotfix] Fix incorrect integer comparison prevent misjudgment in chain table. (#7591)
---
.../src/main/java/org/apache/paimon/table/ChainGroupReadTable.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/paimon-core/src/main/java/org/apache/paimon/table/ChainGroupReadTable.java b/paimon-core/src/main/java/org/apache/paimon/table/ChainGroupReadTable.java
index b178715a2c..6267f3eb04 100644
--- a/paimon-core/src/main/java/org/apache/paimon/table/ChainGroupReadTable.java
+++ b/paimon-core/src/main/java/org/apache/paimon/table/ChainGroupReadTable.java
@@ -390,7 +390,7 @@ public class ChainGroupReadTable extends FallbackReadFileStoreTable {
bucketInAll = totalBuckets;
} else {
checkArgument(
- totalBuckets == bucketInAll,
+ totalBuckets.equals(bucketInAll),
"Inconsistent bucket num " + dataSplit.bucket());
}