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

   ### Purpose
     Before this change, row-sidecar selection was estimated from row ranges
     only and did not account for rows pruned by file indexes and deletion
     vectors, so sparse reads could still fall back to the main data files.
     This change reuses the existing DV-aware file-index result, intersects
     its bitmap with the row-range selection, and uses the resulting row count
     and ratio to choose row sidecars for both single-file and merged-group
     reads without reevaluating the file index or performing an additional
     deletion-vector read.
   
   ### Tests
     - Add a unit test for row sidecar selection using the final bitmap.
     - Add end-to-end tests for single-file and merged-group row sidecar reads
       after applying file indexes and deletion vectors.


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