lilei1128 opened a new pull request, #7563:
URL: https://github.com/apache/paimon/pull/7563

   ### Purpose
     Add with-file-meta option for btree global index to embed ManifestEntry
     data directly in index files, enabling manifest-skip query planning.
   
     Key changes:
     - New index type "btree_file_meta": SST file mapping fileName -> 
ManifestEntry bytes
     - BTreeWithFileMetaBuilder: builds btree key-index + btree_file_meta 
atomically
     - BTreeWithFileMetaReader: reads both indexes and returns 
FilePathGlobalIndexResult
     - DataEvolutionBatchScan: fast path using file-meta to build DataSplits 
without
       manifest reads, with staleness detection via fileIO.exists()
     - BTreeIndexOptions.BTREE_WITH_FILE_META: config to enable the feature
     
     When enabled, query planning reads only:
     - btree key-index SST (for matching row IDs)
     - btree_file_meta SST (for ManifestEntry data)
     
     See: 
https://cwiki.apache.org/confluence/display/PAIMON/PIP-41%3A+Introduce+FilePath+Global+Index+And+Optimizations+For+Lookup+In+Append+Table
   
   ### Tests
   CI


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