Commit graph

185 commits

Author SHA1 Message Date
Mees Delzenne
8077c15f41
Fix exponent numbers causing record ids to fail () 2024-05-16 14:13:34 +00:00
Micha de Vries
47054b2891
Indexes should be populated on import () 2024-05-15 13:29:40 +00:00
Tobie Morgan Hitchcock
8dfdf3dd88
Ensure UPDATE table:id MERGE {} works correctly ()
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2024-05-15 10:45:53 +00:00
Mees Delzenne
75f48af276
Remove nom, add recursion limits with arrays. ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-05-15 09:12:06 +00:00
David Bottiau
97ce910832
Add array::shuffle function () 2024-05-15 08:56:46 +00:00
Emmanuel Keller
51aea4ff8f
Removes old alternative syntax for geometry and record () 2024-05-14 09:23:07 +00:00
Emmanuel Keller
6277aab0e1
Query planner should evaluate non boolean expressions () 2024-05-14 08:58:06 +00:00
Przemyslaw Hugh Kaznowski
63a7caf40e
Add original value to Del in change feeds () 2024-05-13 17:07:39 +00:00
Emmanuel Keller
8890053176
Fixes math:min in foreign table () 2024-05-10 12:42:40 +00:00
Rushmore Mushambi
7776fa476d
Disable another flaky MTree test () 2024-05-10 12:37:36 +00:00
Emmanuel Keller
fcaff735e6
Fixes 3990 () 2024-05-10 10:46:10 +00:00
Emmanuel Keller
1d441e1c21
Index & vectors minor fixes () 2024-05-10 07:12:07 +00:00
Rushmore Mushambi
f607703f7e
Fix FFLAGS import and warnings in tests () 2024-05-09 21:14:03 +00:00
Przemyslaw Hugh Kaznowski
00752ac02f
Gh 3906 reduce polling rate () 2024-05-09 13:03:33 +00:00
Emmanuel Keller
009486b2bb
Feature: Initial Hnsw implementation () 2024-05-08 14:26:41 +00:00
Mees Delzenne
061ad8c712
Update rquickjs dependency () 2024-05-08 11:00:54 +00:00
Emmanuel Keller
b9f02d146d
TreeCache is currently inefficient on writes () 2024-04-30 18:09:54 +00:00
Mees Delzenne
a791f742b4
Flexible record id's () 2024-04-29 12:13:41 +00:00
Przemyslaw Hugh Kaznowski
22aec455b5
Invert CF diffs to derive original ()
Co-authored-by: Emmanuel Keller <keller.emmanuel@gmail.com>
2024-04-29 09:37:21 +00:00
Przemyslaw Hugh Kaznowski
6783f5ee11
Store evaluated live query params () 2024-04-26 09:09:33 +00:00
Mees Delzenne
8ae2908d6e
Fix release build () 2024-04-25 14:53:21 +00:00
cospectrum
67ff1ea4ca
Refactor core/idx/ft ()
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-04-25 14:47:38 +00:00
Emmanuel Keller
8172753ac4
Feat: Introduce Rebuild command () 2024-04-24 13:30:58 +00:00
Przemyslaw Hugh Kaznowski
8f6af53de6
Remaining LQ v2 fixes () 2024-04-23 10:00:23 +00:00
Przemyslaw Hugh Kaznowski
a45fd5c197
Move Live Query V2 code to separate location () 2024-04-22 11:22:00 +00:00
Mees Delzenne
02faf73fef
Add a defer async macro for testing () 2024-04-19 18:33:23 +00:00
Raphael Darley
111f46581f
add more info to info for scope () 2024-04-18 20:35:38 +01:00
Mees Delzenne
49ad32f45e
Implement reblessive into the executor. () 2024-04-18 15:51:47 +00:00
Przemyslaw Hugh Kaznowski
0462d6a395
Add FuzzyEq trait () 2024-04-18 12:38:37 +00:00
Micha de Vries
982e6b33fd
Fix decimal decoding () 2024-04-18 11:47:13 +00:00
Przemyslaw Hugh Kaznowski
2e840bbcb6
Add abstraction for tracking live queries against change feeds () 2024-04-18 11:36:58 +00:00
Raphael Darley
31cc0e37e0
Add relation rpc method ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-18 11:48:12 +01:00
Przemyslaw Hugh Kaznowski
10c6e3edc7
Cleanup some code () 2024-04-18 08:45:06 +00:00
Raphael Darley
cd653bdf7e
refactor rpc code ()
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-17 18:56:08 +00:00
Gerard Guillemas Martos
b2b08e0ad1
Rely on kty when alg is not in JWK () 2024-04-17 14:41:17 +00:00
Raphael Darley
4c8c9f6c8a
Info structure refactor ()
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-17 15:27:55 +01:00
Emmanuel Keller
53ad2c5366
IN operator should be recognised by the query planner () 2024-04-17 12:24:30 +00:00
Emmanuel Keller
a82c0ec0ad
Query planner strategy for record links () 2024-04-16 18:05:09 +00:00
Micha de Vries
dc669b78e3
Fix $value being NONE for DELETE events () 2024-04-16 08:49:33 +00:00
Tobie Morgan Hitchcock
ff45747c10
Upgrade echodb dependency () 2024-04-16 08:09:02 +00:00
Rushmore Mushambi
126ca7a268
Drop dependency on storekey::encode::Error in the serialiser () 2024-04-16 08:07:00 +00:00
Raphael Darley
e62bedf9bb
Add info structure ()
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-16 08:05:07 +00:00
Rushmore Mushambi
77f1318152
Fix benchmarks () 2024-04-15 10:28:08 +00:00
Emmanuel Keller
56b4f7d71e
Bug: Wrong count when using COUNT with a subquery () 2024-04-11 11:38:42 +00:00
Emmanuel Keller
2f19afec56
Bug when using array::group in a group by query () 2024-04-08 23:04:44 +00:00
Rushmore Mushambi
e842515882
Drop the old parser () 2024-04-06 17:33:36 +00:00
Rushmore Mushambi
9f97f0bc48
Stabilise and use parser2 for parsing ()
Co-authored-by: Mees Delzenne <mees.delzenne@gmail.com>
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-04-05 16:05:22 +00:00
Rushmore Mushambi
88095e3fad
Update dependencies () 2024-04-05 09:19:54 +00:00
Gerard Guillemas Martos
1a394aeb5d
Fix fuzzing () 2024-04-04 07:30:13 +00:00
David Bottiau
c7c93108c3
Reduce byte size of datetime and uuid types using cbor format ()
Co-authored-by: David Bottiau <B516QT@login.axa>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-03 14:22:21 +00:00
Mees Delzenne
6375bd45a6
Feature: Add type::range function ()
Co-authored-by: Rushmore Mushambi <rushmore@webenchanter.com>
2024-04-03 12:05:29 +00:00
Tobie Morgan Hitchcock
b03aeca08c
Cleanup a few things in the code ()
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2024-04-03 09:54:12 +00:00
Rushmore Mushambi
2fbb4f4617
Add #[non_exhaustive] to core structs and enums () 2024-04-02 20:12:08 +00:00
Przemyslaw Hugh Kaznowski
09553baae0
Refactor LQ v2 () 2024-04-02 09:15:36 +00:00
Emmanuel Keller
829fb0baf9
Bug fix: Improve support of range queries with complex queries () 2024-03-30 23:11:54 +00:00
Emmanuel Keller
c82bbc0820
Feature: On disk temporary table ()
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-03-28 16:29:55 +00:00
Maxwell Flitton
e201366602
updating surrealml-core and adding checking for version and name () 2024-03-28 13:57:26 +00:00
Emmanuel Keller
ea8810d905
Replaces option_env by std::env::var () 2024-03-27 18:19:54 +00:00
Przemyslaw Hugh Kaznowski
5d3e537abe
SUR-347 - Live Queries error when no change feed () 2024-03-26 17:49:49 +00:00
Raphael Darley
e93649503c
run rpc method ()
Co-authored-by: Micha de Vries <mt.dev@hotmail.com>
2024-03-26 15:27:08 +00:00
Mees Delzenne
5f1b55f7d2
Remove a forgotten println () 2024-03-26 14:48:39 +00:00
Raphael Darley
722e7e61b2
Improve tests for DEFINE ... TYPE () 2024-03-26 11:21:00 +00:00
Raphael Darley
5bf82abd7c
bugfix: fix DEFINE .. TYPE parsing in parser 2 () 2024-03-26 10:44:29 +00:00
Mees Delzenne
1528da9b95
Implement limits for parsing depth in the new parser. () 2024-03-25 19:14:17 +00:00
Mees Delzenne
567832825a
Implement reblessive into the parser to prevent any overflows. () 2024-03-22 20:50:11 +00:00
Emmanuel Keller
ab3582d057
Bug fix: empty array on index () 2024-03-21 17:08:20 +00:00
Przemyslaw Hugh Kaznowski
2b4fb84511
Add Versionstamp generator ()
Co-authored-by: Rushmore Mushambi <rushmore@webenchanter.com>
2024-03-21 11:37:07 +00:00
Raphael Darley
ce8e2d4578
bugfix: Enforce TYPE RELATION () 2024-03-21 10:59:08 +00:00
Przemyslaw Hugh Kaznowski
e00c456389
Revert CF timestamp format () 2024-03-21 10:15:40 +00:00
Emmanuel Keller
ae0eb03998
Disable flaky part of Mtree tests () 2024-03-20 20:17:47 +00:00
Dave MacLeod
f1cc3c8d14
[Documentation] Improve Rust client code samples a bit () 2024-03-20 17:11:55 +00:00
Emmanuel Keller
d9eb60f2a5
bug fix: partial highlight with ngram and other cleanups () 2024-03-20 13:11:02 +00:00
Przemyslaw Hugh Kaznowski
8b13546327
Make Change Feeds record patch values optionally ()
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-03-20 10:09:04 +00:00
Emmanuel Keller
45c296a270
search::highlight option to highlight only the searched characters (edgengram, ngram) () 2024-03-19 17:47:50 +00:00
Raphael Darley
da483716c5
Add post rpc () 2024-03-19 15:17:38 +00:00
Raphael Darley
50125cb2b7
Add DEFINE TABLE ... RELATION ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-03-19 11:20:58 +00:00
Micha de Vries
7f6abc69bb
Overhaul force () 2024-03-18 20:59:39 +00:00
Przemyslaw Hugh Kaznowski
47a1589018
Refactor ds tasks to single part of codebase () 2024-03-18 12:30:31 +00:00
Rushmore Mushambi
13c588c308
Fix sprint_key import ()
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-03-15 18:02:56 +00:00
Rushmore Mushambi
948b9640fb
Drop the sql::v1 module from the core library () 2024-03-15 14:37:27 +00:00
Przemyslaw Hugh Kaznowski
65d8e6d422
Make EngineOptions hidden () 2024-03-15 11:36:31 +00:00
Rushmore Mushambi
f93f4999ed
Refactor Cargo features to use separate core library versions ()
Co-authored-by: Mees Delzenne <mees.delzenne@gmail.com>
2024-03-15 11:21:32 +00:00
Dave MacLeod
b34cfc72fc
Fix string::is::longitude regex, more test coverage () 2024-03-14 14:51:03 +00:00
Gerard Guillemas Martos
900fc58328
Add tests for the signin and signup methods () 2024-03-13 13:15:42 +00:00
Przemyslaw Hugh Kaznowski
4804426648
Remove race conditions in cf tests () 2024-03-13 12:12:35 +00:00
Gerard Guillemas Martos
9e2a0c75ca
Fix: Consistently enforce session expiration () 2024-03-13 09:06:16 +00:00
Mees Delzenne
3c92765fad
Fix export generating unparsable code with the new parser () 2024-03-12 15:43:56 +00:00
Przemyslaw Hugh Kaznowski
2fe398f5b4
Baseline for KILL, realising other PRs need to land () 2024-03-12 13:01:23 +00:00
Gerard Guillemas Martos
cb3ca6dd39
Add JWT ID claim to tokens issued by SurrealDB () 2024-03-12 11:03:27 +00:00
Emmanuel Keller
2fe4f352be
Feature: A query with aggregations should not store every records in memory ()
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-03-12 10:48:53 +00:00
Gerard Guillemas Martos
21975548f2
Move JWKS cache storage to memory () 2024-03-12 10:34:35 +00:00
Przemyslaw Hugh Kaznowski
b62011bfec
Improve debug experience on debug builds () 2024-03-12 09:27:28 +00:00
Emmanuel Keller
0e3fb7b365
Bug fix: Implements the union strategy on unique indexes () 2024-03-12 08:58:22 +00:00
Mees Delzenne
87da9c0b01
Fix warnings () 2024-03-08 10:58:07 +00:00
Emmanuel Keller
1784a1202e
Check that objects properties are recognized by the query planner () 2024-03-07 16:45:05 +00:00
Emmanuel Keller
686a140d80
Support of IN operator in the planner () 2024-03-06 23:41:48 +00:00
Micha de Vries
e637a538d2
Implement IF NOT EXISTS-clause on DEFINE-statements () 2024-03-06 13:24:24 +00:00
Emmanuel Keller
5534a70431
Bug fix: Restore cosine distance on MTree indexes () 2024-03-06 09:29:19 +00:00
Micha de Vries
50b4b07b38
Implement IF EXISTS for additional REMOVE-statements ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2024-03-05 19:28:38 +00:00
Mees Delzenne
0e2f83ed9d
Make handling of negative numbers in record-id-ids more consistent. () 2024-03-05 18:43:04 +00:00