Commit graph

44 commits

Author SHA1 Message Date
Alex Garcia
804cea5e07 forgot to update aux snapshot? 2024-11-20 00:50:29 -08:00
Alex Garcia
e414b97851 Merge branch 'main' into metadata-filtering 2024-11-20 00:44:11 -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
672868d910 _info shadow table 2024-11-19 23:55:10 -08:00
Alex Garcia
86df498910 _metadata_text_NN shadow tables to _metadatatextNN 2024-11-19 22:25:11 -08:00
Alex Garcia
0b17547778 rename _metadata_chunksNN shadown table to _metadatachunksNN, for proper shadowName detection 2024-11-19 22:15:19 -08:00
Alex Garcia
e99e31feb7 add broken shadow table test 2024-11-19 22:03:31 -08:00
Alex Garcia
a657b3a216 fixes and tests 2024-11-19 21:46:50 -08:00
Alex Garcia
d0993b7496 unblock aux failures for now 2024-11-19 15:21:33 -08:00
Alex Garcia
7b67c78530 vtab_in handling 2024-11-18 22:43:24 -08:00
Alex Garcia
018e9789de text knn LT/LE 2024-11-18 14:09:07 -08:00
Alex Garcia
df29e31ddc text knn GT/GE fixes 2024-11-18 14:05:47 -08:00
Alex Garcia
1ec1b89f60 GT 2024-11-18 12:25:01 -08:00
Alex Garcia
3db69bd8ed test cases diff 2024-11-18 12:16:46 -08:00
Alex Garcia
4ba167c315 text knn NE 2024-11-18 12:15:25 -08:00
Alex Garcia
31622209eb add failing test causes for non eq text knn 2024-11-18 12:10:01 -08:00
Alex Garcia
10a2216845 refactor some text knn filtering 2024-11-18 11:21:49 -08:00
Alex Garcia
da29ace630 updates 2024-11-17 14:56:31 -08:00
Alex Garcia
7f47409e60 test-case 2024-11-17 08:45:57 -08:00
Alex Garcia
1c13c91e03 ensure error is raised when long string constraint 2024-11-14 16:52:55 -08:00
Alex Garcia
a1a64427fc boolean comparison handling 2024-11-14 16:36:53 -08:00
Alex Garcia
ab1f6f2c99 drop not-used in eqp 2024-11-14 11:42:37 -08:00
Alex Garcia
c4ece98705 fix snapshot names 2024-11-14 11:39:56 -08:00
Alex Garcia
c1055ab3f8 UPDATE support 2024-11-14 11:32:48 -08:00
Alex Garcia
ae601dcbc3 DELETE support 2024-11-14 10:37:05 -08:00
Alex Garcia
8132f26f3b long text support 2024-11-13 23:36:46 -08:00
Alex Garcia
f12be5292b finish type checking 2024-11-13 22:26:06 -08:00
Alex Garcia
9fffdc4d1b rm double/int32, just float/int64 2024-11-13 22:23:47 -08:00
Alex Garcia
06e28da3a5 more snpashot tests 2024-11-13 21:52:35 -08:00
Alex Garcia
b04b64759c stress test 2024-11-13 19:16:50 -08:00
Alex Garcia
fef4997b68 memzero text buffer 2024-11-13 18:02:31 -08:00
Alex Garcia
3e6759cbfc test-metadata.py 2024-11-13 17:54:10 -08:00
Alex Garcia
5d9b923c59 support UPDATE on auxiliary columns 2024-11-13 15:49:04 -08:00
Alex Garcia
a394c5f0dc support delete 2024-11-13 15:35:22 -08:00
Alex Garcia
743511af55 block WHERE constraints on auxiliary columns in KNN queries 2024-11-13 15:27:23 -08:00
Alex Garcia
7d4c023928 enforce column types 2024-11-13 15:15:32 -08:00
Alex Garcia
d6adbc9f56 drop aux shadow table on destroy 2024-11-13 15:01:43 -08:00
Alex Garcia
163654b93a start aux snapshots 2024-11-13 14:32:17 -08:00
Alex Garcia
03f29d581d block UPDATEs on partition key values for now 2024-11-13 12:59:54 -08:00
Alex Garcia
93b3433c54 op 2024-11-13 12:29:59 -08:00
Alex Garcia
78717dda4d win: .exe, update error name 2024-11-13 12:18:53 -08:00
Alex Garcia
3c1fb0ad86 type error? 2024-11-13 12:05:39 -08:00
Alex Garcia
76b8247a41 update tests, syrupy, use uv 2024-11-13 11:55:18 -08:00