Commit graph

90 commits

Author SHA1 Message Date
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
Alex Garcia
7a1b14976a vec_blob_close proper handling 2024-07-23 23:57:28 -07:00
Alex Garcia
633db6e9cc add l1 distance to vec0 tables 2024-07-23 14:04:17 -07:00
Alex Garcia
79491542e5 Merge branch 'main' of github.com:asg017/sqlite-vec into main 2024-07-23 12:27:37 -07:00
Daniel Levi-Minzi
25b85afc89
l1 distance (#39)
* initial work on l1

* l1 int8 neon implementation

* tweak l1 int8 and add test

* broken overflow still

* some progress on l1

* change to i32 instead of i64

* remove comment

* ignore poetry stuff

* unrolled l1 int8 and format

* remove comments
2024-07-23 09:04:15 -07:00
Alex Garcia
7fc8248f28 ensure statements opened by vec0 are finalize before commits. 2024-07-23 08:59:34 -07:00
Alex Garcia
ff6cf96e2a vec_type(), API references 2024-07-22 21:24:44 -07:00
Alex Garcia
f4fe53e584 docs and fuzz 2024-07-16 22:28:15 -07:00
Alex Garcia
73b9156a7c changes for ncruces go 2024-07-11 22:36:18 -07:00
Alex Garcia
23f0b75f9c fix win cl.exe, void unknown size 2024-07-05 12:10:05 -07:00