mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-05-21 14:05:18 +02:00
PARTITION KEY support (#122)
* initial pass at PARTITION KEY support. * unit tests * gha this PR branch * fixup tests * doc internal * fix tests, KNN/rowids in * define SQLITE_INDEX_CONSTRAINT_OFFSET * whoops * update tests, syrupy, use uv * un ignore pyproject.toml * dot * tests/ * type error? * win: .exe, update error name * try fix macos python, paren around expr? * win bash? * dbg :( * explicit error * op * dbg win * win ./tests/.venv/Scripts/python.exe * block UPDATEs on partition key values for now
This commit is contained in:
parent
ee3654701f
commit
6658624172
16 changed files with 1522 additions and 245 deletions
7
Makefile
7
Makefile
|
|
@ -185,13 +185,16 @@ publish-release:
|
|||
|
||||
# -k test_vec0_update
|
||||
test-loadable: loadable
|
||||
$(PYTHON) -m pytest -vv -s -x tests/test-loadable.py
|
||||
$(PYTHON) -m pytest -vv -s -x tests/test-*.py
|
||||
|
||||
test-loadable-snapshot-update: loadable
|
||||
$(PYTHON) -m pytest -vv tests/test-loadable.py --snapshot-update
|
||||
|
||||
test-loadable-watch:
|
||||
watchexec -w sqlite-vec.c -w tests/test-loadable.py -w Makefile --clear -- make test-loadable
|
||||
watchexec --exts c,py,Makefile --clear -- make test-loadable
|
||||
|
||||
test-unit:
|
||||
$(CC) tests/test-unit.c sqlite-vec.c -I./ -Ivendor -o $(prefix)/test-unit && $(prefix)/test-unit
|
||||
|
||||
site-dev:
|
||||
npm --prefix site run dev
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue