LsomeYeah commented on code in PR #7642:
URL: https://github.com/apache/paimon/pull/7642#discussion_r3078009692


##########
paimon-core/src/main/java/org/apache/paimon/mergetree/compact/clustering/ClusteringFileRewriter.java:
##########
@@ -115,20 +112,16 @@ public ClusteringFileRewriter(
     }
 
     /**
-     * Sort and rewrite unsorted files by clustering columns. Reads all 
KeyValue records, sorts them
+     * Sort and rewrite unsorted file by clustering columns. Reads all 
KeyValue records, sorts them
      * using an external sort buffer, and writes to new level-1 files. Checks 
the key index inline
      * during writing to handle deduplication (FIRST_ROW skips duplicates, 
DEDUPLICATE marks old
      * positions in DV) and updates the index without re-reading the output 
files.

Review Comment:
   Doc seems to be not accurate. When `rebuildIndex`, the file now will be 
re-read.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to