JingsongLi opened a new pull request, #1211:
URL: https://github.com/apache/paimon-rust/pull/1211

   ### Purpose
   
   Indexed vector search can lose matching rows when a partition column's 
position in the table schema differs from its position in the partition row. 
For example, filtering `pt` in a schema `id, embedding, pt` can return no 
results when an exact scalar index filter selects a source plan.
   
   ### Brief change log
   
   Remap the partition predicate from partition-row positions back to complete 
table-schema positions before collecting allowed source row IDs.
   
   Add regression coverage for single and batch vector searches in fast, full 
and detail modes, checking both scores and materialized rows.
   
   ### Tests
   
   - The 6 new regression cases fail against main 
`96e06d764365b59c9895a45692819efccf209b23` and pass with this change.
   - `cargo test -p paimon --lib table::de_vector_read::tests`: 56 passed.
   - Python binding `test_vector_search.py`, using a wheel built from this 
commit: 15 passed.
   - `cargo fmt --all --check` and `git diff --check`: passed.
   
   ### API and Format
   
   No public API or storage-format changes.
   
   ### Documentation
   
   Bug fix; no documentation changes required.
   
   


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