steFaiz commented on code in PR #7563:
URL: https://github.com/apache/paimon/pull/7563#discussion_r3015521798


##########
paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/globalindex/btree/BTreeIndexTopoBuilder.java:
##########
@@ -126,6 +140,31 @@ public List<CommitMessage> buildIndex(
                 int partitionNum = Math.max((int) (range.count() / 
recordsPerRange), 1);
                 partitionNum = Math.min(partitionNum, maxParallelism);
 
+                // Pre-serialize ManifestEntries for file-meta index (if 
withFileMeta is enabled)

Review Comment:
   It seems that the key(i.e. the filename) is just used for deduplication? Can 
I image this index as actually a Range to Collection\<ManifestEntry\> index?



-- 
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