feat: add support for Alibaba Cloud AnalyticDB for PostgreSQL Nova#786
Conversation
|
/assign @XuanYang-cn |
|
can you please review @sre-ci-robot @jkatz @javiervegas @claude |
|
Hi @XuanYang-cn, this PR is ready for review. All CI checks (lint + unittest) pass locally. Would appreciate your review when you have a moment. Thanks! |
90b3485 to
dd51f10
Compare
|
@softhuafei Please also resolve the conflicts. |
Algorithm dropdown — vectordb_bench/frontend/config/dbCaseConfigs.py: options were ["novamr", "novam"], fixed to ["novamr", "novad"]. The backend (adbpg/config.py) only supports novamr and novad; novam was a typo that would let the UI submit an unsupported algorithm. Also fixed a related index-name comment in adbpg.py (novam_index → novamr_index). |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: softhuafei, XuanYang-cn The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
Adds a new client
adbpgnovafor Alibaba Cloud AnalyticDB for PostgreSQL (ADB-PG), which supports the Nova vector indexfamily (
novamr/novad) backed by thefastannengine andUSING annsyntax.What's added
vectordb_bench/backend/clients/adbpg/{adbpg.py,config.py,cli.py}vectordbbench adbpgnova ...tests/test_adbpg.py— 9 tests covering config defaults,to_dictconnection options,index_paramWITH-clause options (incl. rawauto_reduction=on),session_paramGUC emission, and
TestResult.read_fileround-tripAlgorithms supported
novamr(default)hnsw_m,ef_construction,rabitq_bits,auto_reductionfastann.hnsw_ef_search,fastann.hnsw_max_scan_points,fastann.quantize_rescore_amp,fastann.nova_adaptive_gammanovadnlist,rabitq_bitsfastann.nova_nprobe(exposed as--nprobe)Example
Or via YAML:
Test plan
make lint(black + ruff) passes locallypytest tests/test_adbpg.py— 9/9 passing