Commit graph

99 commits

Author SHA1 Message Date
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
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
9cba8ffe8c dont inline that 2024-11-13 16:03:00 -08:00
Alex Garcia
65c00983e5 Merge branch 'auxiliary' into metadata-filtering 2024-11-13 15:59:12 -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
93218e4e1f bruv 2024-11-13 13:56:54 -08:00
Alex Garcia
70c9c171be typo ugh 2024-11-13 13:51:10 -08:00
Alex Garcia
da14fa19ed accidentally removved "partition key type mistmatch" block during merge 2024-11-13 13:46:20 -08:00
Alex Garcia
0eece069a0 Merge branch 'partition-by' into auxiliary 2024-11-13 13:37:54 -08:00
Alex Garcia
03f29d581d block UPDATEs on partition key values for now 2024-11-13 12:59:54 -08:00
Alex Garcia
81497610e2 explicit error 2024-11-13 12:28:37 -08:00
Alex Garcia
c6df44630b dbg :( 2024-11-13 12:26:16 -08:00
Alex Garcia
f3d4bb37aa try fix macos python, paren around expr? 2024-11-13 12:21:29 -08:00
Alex Garcia
76b8247a41 update tests, syrupy, use uv 2024-11-13 11:55:18 -08:00
Alex Garcia
26fbdf22eb whoops 2024-11-12 22:03:57 -08:00
Alex Garcia
1a21336ae5 define SQLITE_INDEX_CONSTRAINT_OFFSET 2024-11-12 22:00:46 -08:00
Alex Garcia
8369dfe72d fix tests, KNN/rowids in 2024-11-12 21:57:59 -08:00
Alex Garcia
f36d4a02c6 unit tests 2024-11-04 16:48:41 -08:00
Alex Garcia
adddea078f Initial pass at metadata filtering 2024-10-15 12:08:42 -07:00
Alex Garcia
8a7bde91c4 Initial pass, allow auxiliary columns on vec0 virtual tables 2024-10-14 11:06:25 -07:00
Alex Garcia
776d86cc0c initial pass at PARTITION KEY support. 2024-10-13 22:11:13 -07:00
Alex Garcia
cc12e44d4c small docs work 2024-10-11 09:09:32 -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
f09f6a0215 fmt 2024-09-20 13:17:57 -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
7ea402931e fmt and SQLITE_VEC_OMIT_FS fixes 2024-08-10 23:33:28 -07:00
Alex Garcia
a6498d04b8 properly check SQLITE_THREADSAFE for static compilation 2024-08-09 13:23:18 -07:00
Alex Garcia
2ed95aacc5 ensure UPDATEs and DELETEs work on vec0 tables with text primary keys, refs #77 2024-08-09 12:16:56 -07:00
Alex Garcia
ac87b06b02 Add SQLITE_VEC_STATIC option, prefix json function 2024-08-09 10:44:39 -07:00
Alex Garcia
65c4aa3754 Merge branch 'main' of github.com:asg017/sqlite-vec into main 2024-08-09 10:26:50 -07:00
Sheldon Robinson
6c26399269
Fix compilation error for redefinition of jsonIsspace (#75)
* Fix compilation error for redefinition of jsonIsspace when including in amalgamation build of sqlite3.c

* Fix redefinition variable jsonIsSpaceX[]

* Add check for SQLITE_AMALGMATION

* Add check for SQLITE_CORE
2024-08-09 10:26:45 -07:00
Alex Garcia
fdd1b2679e control path fixes 2024-08-09 10:25:31 -07:00
Sheldon Robinson
6cccfae273
Add implementation for __builtin_popcountl for Windows on ARM (#72)
Window on Arm missing the __popcnt64 function.
Adding static implementation based on b64f1e77b5/lib/ngtcp2_ringbuf.c, line 34-43
2024-08-09 10:07:15 -07:00
Alex Garcia
530a3c95d2 Explicitly test that SQLite version 3.31.1 is compatible with sqlite-vec when statically compiling 2024-08-05 16:46:35 -07:00
Ikko Eltociear Ashimine
bd5c847a97
chore: update sqlite-vec.c (#61)
identifer -> identifier
2024-08-05 11:15:02 -07:00
Alex Garcia
e379c205c8 limit checks 2024-08-01 02:45:51 -07:00
Alex Garcia
a0bc9404ce static updates 2024-07-31 12:56:09 -07:00
Alex Garcia
0f5bc2f254 fmt 2024-07-23 23:57:42 -07:00