jackylee-ch opened a new pull request, #898:
URL: https://github.com/apache/paimon-rust/pull/898

   `extract_vectors_from_batches` validated a null `_ROW_ID`, row-id 
contiguity, a null vector row, the dimension and a null element — but not 
finiteness, so a `NaN` or `±inf` embedding was indexed silently. The everyday 
cause is a cosine normalisation dividing a zero vector by its zero norm.
   
   Java rejects these per element in 
`LuminaVectorGlobalIndexWriter#checkFinite`, covered by 
`testNanInVectorRejected` and `testInfinityInVectorRejected`. The other Rust 
vector backend rejects them too, in `paimon_vindex_core`'s 
`validate_finite_values` on both the write and the query side — so switching 
`index.type` between the two backends turned a loud build failure into a silent 
one.
   
   The message carries the row id and the position inside the vector, as Java's 
does: a rejected build is only actionable if the offending row can be found.
   


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