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

   ### Purpose
   
   Fix partition filter handling in vector search builders.
   
   Previously, `withFilter` extracted partition predicates but still kept the 
full predicate in the scalar filter. For partition-only filters, indexed vector 
reads could incorrectly enter the scalar pre-filter path and return empty 
results when no scalar index files existed. In addition, explicit 
`withPartitionFilter` calls and partition predicates extracted from 
`withFilter` could overwrite each other instead of behaving as a stable 
intersection.
   
   ### Tests
   
     - `mvn -pl paimon-core -Dtest=VectorSearchBuilderTest 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