Validate d % m == 0 in JNI createWriter before constructing index

Prevents JVM crash from ProductQuantizer assert when Java passes
d=10, m=3 (not divisible). Now throws RuntimeException instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 file changed
tree: dd83eb5060f344157abb926395bca4f7b875d711
  1. .github/
  2. core/
  3. jni/
  4. python/
  5. .asf.yaml
  6. .gitignore
  7. Cargo.toml
  8. copyright.txt
  9. deny.toml
  10. LICENSE
  11. NOTICE
  12. README.md
README.md

Apache Paimon Vector Index   Build Status

Pure Rust IVF-PQ implementation for Apache Paimon. Designed for data lake (S3/HDFS/OSS) with seek-based I/O, supporting both 8-bit and 4-bit PQ with SIMD acceleration.

Contributing

Apache Paimon Vector Index is an exciting project currently under active development. Whether you're looking to use it in your projects or contribute to its growth, there are several ways you can get involved:

Getting Help

Submit issues for bug report or asking questions in discussion.

License

Licensed under Apache License, Version 2.0.