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 59a4e1121e [typo] Fix typo in FileIndexFormat (#5782)
59a4e1121e is described below

commit 59a4e1121e286675d5706332069dbf2563502deb
Author: wangwj <[email protected]>
AuthorDate: Fri Jun 20 15:35:21 2025 +0800

    [typo] Fix typo in FileIndexFormat (#5782)
---
 .../src/main/java/org/apache/paimon/fileindex/FileIndexFormat.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/paimon-common/src/main/java/org/apache/paimon/fileindex/FileIndexFormat.java 
b/paimon-common/src/main/java/org/apache/paimon/fileindex/FileIndexFormat.java
index 9c8058f135..7a132673dd 100644
--- 
a/paimon-common/src/main/java/org/apache/paimon/fileindex/FileIndexFormat.java
+++ 
b/paimon-common/src/main/java/org/apache/paimon/fileindex/FileIndexFormat.java
@@ -202,8 +202,8 @@ public final class FileIndexFormat {
         private int calculateHeadLength(Map<String, Map<String, Pair<Integer, 
Integer>>> bodyInfo)
                 throws IOException {
             // magic 8 bytes, version 4 bytes, head length 4 bytes,
-            // column size 4 bytes, body info start&end 8 bytes per
-            // column-index, index type size 4 bytes per column, redundant 
length 4 bytes;
+            // column number 4 bytes, body info start&length 8 bytes per
+            // column-index, index number size 4 bytes per column, redundant 
length 4 bytes;
             int baseLength =
                     8
                             + 4

Reply via email to