[vector][python] Read vindex vector indexes#8293
Open
JingsongLi wants to merge 1 commit into
Open
Conversation
a77efc3 to
6c29f19
Compare
6c29f19 to
d441944
Compare
Contributor
|
+1 |
XiaoHongbo-Hope
approved these changes
Jun 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR flattens
paimon-vectorinto a single jar module backed bypaimon-vector-index-java0.1.0, removing the oldpaimon-vector-jnisubmodule. It also adds Python read support for vindex vector indexes throughpaimon-vindex0.1.0 and covers Java-write/Python-read interop.Changes
paimon-vectorfrom a parent module withpaimon-vector-indexandpaimon-vector-jnichildren into one module that depends onpaimon-vector-index-java0.1.0.paimon-vectorsource tree and load the native library from the released Java artifact.paimon-vindexvector global index reader and wire it into vector search reader dispatch forivf-flat,ivf-pq,ivf-hnsw-flat, andivf-hnsw-sq.paimon-vindex==0.1.0.run_mixed_tests.shnow runs that path on Python >= 3.9.Testing
python -m py_compile paimon-python/pypaimon/table/source/vector_search_read.py paimon-python/pypaimon/globalindex/vindex/vindex_vector_global_index_reader.py paimon-python/pypaimon/tests/e2e/java_py_read_write_test.pybash -n paimon-python/dev/run_mixed_tests.shgit diff --checkmvn -pl paimon-vector -am -Pfast-build -DfailIfNoTests=false -Dtest=NativeVectorGlobalIndexerFactoryTest,SeekableStreamVectorIndexInputTest,NativeVectorGlobalIndexTest,org.apache.paimon.JavaPyE2ETest#testVindexVectorIndexWrite test -Drun.e2e.tests=truePYTHONPATH=/tmp/paimon-vindex-site:${PYTHONPATH:-} python -m pytest java_py_read_write_test.py::JavaPyReadWriteTest::test_read_vindex_vector_index -vmvn -pl paimon-vector -am -DskipTests compileNotes
paimon-vectorhas not been released yet, so this intentionally does not preserve compatibility with the old two-submodule layout.