Commit graph

440 commits

Author SHA1 Message Date
Ben Holmes
d1f6a81482
update rusqlite demo (#146) 2024-11-26 11:28:53 -08:00
Alex Garcia
639fca5739 v0.1.6 2024-11-20 08:34:19 -08:00
Alex Garcia
6d90d1f5e5 doc 2024-11-20 08:30:36 -08:00
Alex Garcia
71f17635bc v0.1.6-alpha.2 2024-11-20 06:52:13 -08:00
Alex Garcia
4c6baab632 skip test on windows releases 2024-11-20 06:52:07 -08:00
Alex Garcia
c3cbe760a6 v0.1.6-alpha.1 2024-11-20 06:48:24 -08:00
Alex Garcia
d54a0f4eb2 cleanup 2024-11-20 06:48:13 -08:00
Alex Garcia
352f953fc0
Metadata filtering (#124)
* initial pass at PARTITION KEY support.

* Initial pass, allow auxiliary columns on vec0 virtual tables

* update TODO

* Initial pass at metadata filtering

* 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

* test this branch

* accidentally removved "partition key type mistmatch" block during merge

* typo ugh

* bruv

* start aux snapshots

* drop aux shadow table on destroy

* enforce column types

* block WHERE constraints on auxiliary columns in KNN queries

* support delete

* support UPDATE on auxiliary columns

* test this PR

* dont inline that

* test-metadata.py

* memzero text buffer

* stress test

* more snpashot tests

* rm double/int32, just float/int64

* finish type checking

* long text support

* DELETE support

* UPDATE support

* fix snapshot names

* drop not-used in eqp

* small fixes

* boolean comparison handling

* ensure error is raised when long string constraint

* new version string for beta builds

* typo whoops

* ann-filtering-benchmark directory

* test-case

* updates

* fix aux column error when using non-default rowid values, needs test

* refactor some text knn filtering

* rowids blob read only on text metadata filters

* refactor

* add failing test causes for non eq text knn

* text knn NE

* test cases diff

* GT

* text knn GT/GE fixes

* text knn LT/LE

* clean

* vtab_in handling

* unblock aux failures for now

* guard sqlite3_vtab_in

* else in guard?

* fixes and tests

* add broken shadow table test

* rename _metadata_chunksNN shadown table to _metadatachunksNN, for proper shadowName detection

* _metadata_text_NN shadow tables to _metadatatextNN

* SQLITE_VEC_VERSION_MAJOR SQLITE_VEC_VERSION_MINOR and SQLITE_VEC_VERSION_PATCH in sqlite-vec.h

* _info shadow table

* forgot to update aux snapshot?

* fix aux tests
2024-11-20 00:59:34 -08:00
Alex Garcia
9bfeaa7842
Auxiliary column support (#123)
* initial pass at PARTITION KEY support.

* Initial pass, allow auxiliary columns on vec0 virtual tables

* update TODO

* 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

* test this branch

* accidentally removved "partition key type mistmatch" block during merge

* typo ugh

* bruv

* start aux snapshots

* drop aux shadow table on destroy

* enforce column types

* block WHERE constraints on auxiliary columns in KNN queries

* support delete

* support UPDATE on auxiliary columns
2024-11-20 00:30:23 -08:00
Alex Garcia
6658624172
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
2024-11-20 00:02:04 -08:00
Alex Garcia
ee3654701f v0.1.5 2024-11-15 11:22:50 -08:00
Alex Garcia
5183ab4b34 v0.1.5-alpha.1 2024-11-15 11:18:19 -08:00
Alex Garcia
9780f6d445 bump dist to fix linux arm builds 2024-11-15 11:17:55 -08:00
Alex Garcia
67f8ff8517 v0.1.4 2024-11-15 11:02:10 -08:00
Alex Garcia
e412860897 v0.1.4-alpha.3 2024-11-15 10:51:26 -08:00
Alex Garcia
04c6da4c62 update linux arm builds 2024-11-15 10:43:44 -08:00
Alex Garcia
f7730ac12e experimental metadata docs 2024-11-15 10:40:44 -08:00
Alex Garcia
7991cd734b gha: no -DSQLITE_CORE on pyodide build, shouldn't need it? 2024-11-08 21:49:10 -08:00
Alex Garcia
1f60587b0c run site deploy only when site changes 2024-11-08 21:48:42 -08:00
Alex Garcia
aae35ce106 try pyodide build 2024-11-08 21:46:41 -08:00
Alex Garcia
12259dc35e gha: get-measurement 2024-11-04 16:56:33 -08:00
Alex Garcia
beba23f17d try arm build, measure energy 2024-11-04 16:53:10 -08:00
Alex Garcia
9cc0deae34 v0.1.4-alpha.2 2024-10-11 09:38:43 -07:00
Alex Garcia
b8fadf6afb bump sqlite-dist 2024-10-11 09:38:34 -07:00
Alex Garcia
4a02010037 v0.1.4-alpha.1 2024-10-11 09:18:03 -07:00
Alex Garcia
ad3b18e614 fix ncruces build 2024-10-11 09:14:24 -07:00
Alex Garcia
b582f1db41 rm cgo bindings bc theyre in a separate repo anyway 2024-10-11 09:14:17 -07:00
Alex Garcia
cc12e44d4c small docs work 2024-10-11 09:09:32 -07:00
Alex Garcia
b6245e21a2 bump sqlite-dist 2024-10-11 09:08:41 -07:00
Alex Garcia
5c99ad3905 nbc demo updates 2024-10-11 09:08:29 -07:00
Alex Garcia
f43ae7a741 nbc headlines updates 2024-10-02 10:24:49 -07:00
Alex Garcia
496560cf9a v0.1.3 2024-09-26 00:22:46 -07:00
Alex Garcia
518e1c0320 add security doc 2024-09-26 00:22:31 -07:00
Alex Garcia
5b61ec2a8d v0.1.3-alpha.3 2024-09-25 23:09:49 -07:00
Alex Garcia
763aad5d6a Remove vec_npy_each from default entrypoint and move to sqlite3_vec_numpy_init entrypoint 2024-09-25 23:07:17 -07:00
Alex Garcia
70dce09747 old docs 2024-09-25 22:39:21 -07:00
Alex Garcia
f09f6a0215 fmt 2024-09-20 13:17:57 -07:00
Alex Garcia
330f021216 v0.1.3-alpha.2 2024-09-16 10:49:00 -07:00
Alex Garcia
6b1b59eea9 bump sqlite-dist v0.0.1-alpha.14 2024-09-16 10:47:37 -07:00
Alex Garcia
4fbdd9ab2d v0.1.3-alpha.1 2024-09-13 13:01:03 -07:00
Alex Garcia
89faa5be15 don't call SQLITE_EXTENSION_INIT2 if SQLITE_CORE 2024-09-13 12:50:05 -07:00
Alex Garcia
fb11a2b32e guart #include "sqlite3ext.h" with SQLITE_CORE 2024-09-13 12:46:13 -07:00
Alex Garcia
2998a24462 v0.1.2 2024-09-13 08:57:27 -07:00
Alex Garcia
992b4333c1 doc android+ios 2024-09-13 08:20:30 -07:00
Alex Garcia
deb14a9fcd v0.1.2-alpha.10 2024-09-12 17:31:19 -07:00
Alex Garcia
6f75fc327f android+ios release artifacts 2024-09-12 17:28:55 -07:00
Alex Garcia
d26dc92d91 update ncruces patch 2024-09-12 16:13:21 -07:00
Alex Garcia
a4811fcaa8 gha: ios run x86 build on macos-12 2024-09-12 16:10:58 -07:00
Alex Garcia
94fd29fc2d gha: clenaup android matrix 2024-09-12 16:09:42 -07:00
Alex Garcia
3b898c523b try more ios targets 2024-09-12 16:07:00 -07:00