Skip to content

Commit bb00b63

Browse files
authored
[hotfix] Fix incorrect integer comparison prevent misjudgment in chain table. (#7591)
1 parent 4a4907d commit bb00b63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

paimon-core/src/main/java/org/apache/paimon/table/ChainGroupReadTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public Plan plan() {
390390
bucketInAll = totalBuckets;
391391
} else {
392392
checkArgument(
393-
totalBuckets == bucketInAll,
393+
totalBuckets.equals(bucketInAll),
394394
"Inconsistent bucket num " + dataSplit.bucket());
395395
}
396396

0 commit comments

Comments
 (0)