QuakeWang opened a new pull request, #33:
URL: https://github.com/apache/paimon-vector-index/pull/33

   ## Summary
   
   The unified core facade previously accepted NaN and infinity values in 
training data, added vectors, and search queries. Those values can produce NaN 
distances inside the algorithms, where ranking code may panic on 
partial_cmp().unwrap(). JNI catches those panics, but invalid user input should 
not rely on the panic boundary.
   
   This PR rejects non-finite vector payloads at the VectorIndexWriter and 
VectorIndexReader facade before dispatching into concrete index 
implementations. It also adds core and native JNI regression coverage to verify 
NaN/Inf inputs become normal invalid-input exceptions rather than Rust 
panic-boundary exceptions.


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