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

   ### Purpose
   
   BTree global index builder already reads only the partition fields, index 
field, and row id while building the index, but its scan planning did not pass 
that read type into the snapshot scan. For data-evolution tables, that means 
manifest entries for unrelated dedicated files such as blob files could survive 
planning even though they are not needed for BTree index construction.
   
   ### Changes
   
   - Pass the BTree builder read type into both full scan and incremental scan 
planning.
   - Keep the existing behavior when no index field/read type has been 
configured.
   - Add a regression test that verifies blob manifest entries exist physically 
but are not included in BTree scan or incremental scan splits.
   
   ### Tests
   
   - `mvn -pl paimon-core -am -Pfast-build -DfailIfNoTests=false 
-Dtest=BTreeGlobalIndexBuilderTest test`
   


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