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

   ### Purpose
   
   Repeated `ScoredGlobalIndexResult.or` calls build a linear `ScoreGetter` 
chain. When aggregating many index splits, top-k selection or serialization may 
recurse through thousands of getters, causing `StackOverflowError` and 
retaining intermediate bitmaps.
   
   Add a bulk `merge` operation that materializes a flat row-ID/score result, 
and use it across common, data-evolution, and Spark aggregation paths while 
preserving first-result score precedence.
   
   ### Tests
   
    - `ScoredGlobalIndexResultTest`
     - `SparkDataEvolutionVectorReadTest`
     - Multi-index-file vector, batch-vector, and full-text tests


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