Commit graph

121 commits

Author SHA1 Message Date
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
Alex Garcia
f217cbf2bd knn cleanups and tests 2024-07-05 12:07:45 -07:00
Alex Garcia
f602ae1396 cast ambiguous to i64 2024-06-28 22:15:53 -07:00
Alex Garcia
39f6fa3dc9 gha: cl DEFAULT_FLAGS 2024-06-28 22:07:02 -07:00
Alex Garcia
be6900b0f9 gha: yeet out p 2024-06-28 22:03:54 -07:00
Alex Garcia
cc95770edd gha: please 2024-06-28 21:58:53 -07:00
Alex Garcia
50f6886ac3 drop th econst? 2024-06-28 21:38:50 -07:00
Alex Garcia
b7bfe1f805 address some cl.exe issues 2024-06-28 20:56:51 -07:00
Alex Garcia
76c421e0b9 win32 try 2024-06-28 20:50:20 -07:00
Alex Garcia
44aef7a50f memset 0 all applicable mallocs, fix windows? 2024-06-28 19:21:50 -07:00
Alex Garcia
2eafd843d7 no inline, windows i64 fix? 2024-06-28 16:00:58 -07:00
Alex Garcia
a5525c9a5d vec0 point and knn error handling 2024-06-28 15:29:13 -07:00
Alex Garcia
2fdd760dd1 fmt 2024-06-28 10:51:59 -07:00
Alex Garcia
b923c596df a ton more error handing, vec0 insert/delete/update, npy fixes 2024-06-28 10:51:49 -07:00
Alex Garcia
cd772ff858 properly dispose of drop stmt 2024-06-25 09:05:01 -07:00
Alex Garcia
9dc772e9f9 format, pragma_table_list -> sqlite_master 2024-06-25 08:54:51 -07:00
Alex Garcia
feea3bfe43 remove vec_expo, impl drop vec0 2024-06-25 08:52:48 -07:00
Alex Garcia
d5363ccde7 re-add threadsafe, tests for drop column support 2024-06-24 23:34:40 -07:00
Alex Garcia
3a8ab9b489 several vec0 and np fixes 2024-06-24 23:26:11 -07:00
Alex Garcia
4196f16b27 error handling on vec0 INSERT operations, introduce evidence-of 2024-06-23 17:46:42 -07:00