Mees Delzenne
49ad32f45e
Implement reblessive into the executor. ( #3803 )
2024-04-18 15:51:47 +00:00
Raphael Darley
31cc0e37e0
Add relation rpc method ( #3775 )
...
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
52dc064005
Fix api live tests for lq v2 ( #3900 )
2024-04-18 08:45:24 +00:00
Emmanuel Keller
53ad2c5366
IN operator should be recognised by the query planner ( #3890 )
2024-04-17 12:24:30 +00:00
Emmanuel Keller
a82c0ec0ad
Query planner strategy for record links ( #3668 )
2024-04-16 18:05:09 +00:00
Micha de Vries
dc669b78e3
Fix $value
being NONE
for DELETE
events ( #3869 )
2024-04-16 08:49:33 +00:00
Emmanuel Keller
56b4f7d71e
Bug: Wrong count when using COUNT with a subquery ( #3855 )
2024-04-11 11:38:42 +00:00
Emmanuel Keller
2f19afec56
Bug when using array::group in a group by query ( #3826 )
2024-04-08 23:04:44 +00:00
Rushmore Mushambi
9f97f0bc48
Stabilise and use parser2
for parsing ( #3801 )
...
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
Mees Delzenne
6375bd45a6
Feature: Add type::range
function ( #3748 )
...
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 ( #3793 )
...
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 ( #3781 )
2024-04-02 20:12:08 +00:00
Emmanuel Keller
829fb0baf9
Bug fix: Improve support of range queries with complex queries ( #3786 )
2024-03-30 23:11:54 +00:00
Emmanuel Keller
c82bbc0820
Feature: On disk temporary table ( #3749 )
...
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-03-28 16:29:55 +00:00
Przemyslaw Hugh Kaznowski
5d3e537abe
SUR-347 - Live Queries error when no change feed ( #3772 )
2024-03-26 17:49:49 +00:00
Przemyslaw Hugh Kaznowski
390b2496fe
Fixup tests for LQ to prevent >60s tests ( #3768 )
2024-03-26 13:23:46 +00:00
Raphael Darley
722e7e61b2
Improve tests for DEFINE ... TYPE
( #3759 )
2024-03-26 11:21:00 +00:00
Mees Delzenne
567832825a
Implement reblessive into the parser to prevent any overflows. ( #3591 )
2024-03-22 20:50:11 +00:00
Emmanuel Keller
ab3582d057
Bug fix: empty array on index ( #3745 )
2024-03-21 17:08:20 +00:00
Przemyslaw Hugh Kaznowski
2b4fb84511
Add Versionstamp generator ( #3716 )
...
Co-authored-by: Rushmore Mushambi <rushmore@webenchanter.com>
2024-03-21 11:37:07 +00:00
Raphael Darley
ce8e2d4578
bugfix: Enforce TYPE RELATION
( #3732 )
2024-03-21 10:59:08 +00:00
Przemyslaw Hugh Kaznowski
e00c456389
Revert CF timestamp format ( #3690 )
2024-03-21 10:15:40 +00:00
Emmanuel Keller
d9eb60f2a5
bug fix: partial highlight with ngram and other cleanups ( #3725 )
2024-03-20 13:11:02 +00:00
Rushmore Mushambi
ec3bb1f659
Add insert
method to the Rust SDK ( #3720 )
2024-03-20 11:24:24 +00:00
Przemyslaw Hugh Kaznowski
8b13546327
Make Change Feeds record patch values optionally ( #3552 )
...
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) ( #3719 )
2024-03-19 17:47:50 +00:00
Raphael Darley
50125cb2b7
Add DEFINE TABLE ... RELATION
( #3710 )
...
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-03-19 11:20:58 +00:00
Micha de Vries
7f6abc69bb
Overhaul force ( #3632 )
2024-03-18 20:59:39 +00:00
Przemyslaw Hugh Kaznowski
47a1589018
Refactor ds tasks to single part of codebase ( #3655 )
2024-03-18 12:30:31 +00:00
Rushmore Mushambi
f93f4999ed
Refactor Cargo features to use separate core library versions ( #3688 )
...
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 ( #3684 )
2024-03-14 14:51:03 +00:00
Przemyslaw Hugh Kaznowski
4804426648
Remove race conditions in cf tests ( #3669 )
2024-03-13 12:12:35 +00:00
Mees Delzenne
3c92765fad
Fix export generating unparsable code with the new parser ( #3351 )
2024-03-12 15:43:56 +00:00
Emmanuel Keller
2fe4f352be
Feature: A query with aggregations should not store every records in memory ( #3657 )
...
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-03-12 10:48:53 +00:00
Emmanuel Keller
0e3fb7b365
Bug fix: Implements the union strategy on unique indexes ( #3674 )
2024-03-12 08:58:22 +00:00
Mees Delzenne
87da9c0b01
Fix warnings ( #3634 )
2024-03-08 10:58:07 +00:00
Emmanuel Keller
1784a1202e
Check that objects properties are recognized by the query planner ( #3643 )
2024-03-07 16:45:05 +00:00
Emmanuel Keller
686a140d80
Support of IN operator in the planner ( #3640 )
2024-03-06 23:41:48 +00:00
Micha de Vries
e637a538d2
Implement IF NOT EXISTS
-clause on DEFINE
-statements ( #3584 )
2024-03-06 13:24:24 +00:00
Przemyslaw Hugh Kaznowski
7ae882921c
Unflake bootstrap test ( #3636 )
2024-03-06 12:42:28 +00:00
Emmanuel Keller
5534a70431
Bug fix: Restore cosine distance on MTree indexes ( #3614 )
2024-03-06 09:29:19 +00:00
Micha de Vries
50b4b07b38
Implement IF EXISTS
for additional REMOVE
-statements ( #3377 )
...
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
807b4681fa
Change KNN operator syntax. ( #3617 )
...
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-03-05 16:01:17 +00:00
Emmanuel Keller
4eba4a61ab
The query planner should accept Datetime and Uuid values ( #3626 )
2024-03-05 15:10:43 +00:00
Przemyslaw Hugh Kaznowski
2914641827
Fix linting issues in main February 2024 ( #3595 )
2024-03-01 12:51:32 +00:00
Rushmore Mushambi
9d2fe88717
Add Surreal::wait_for
( #3581 )
2024-02-29 12:09:01 +00:00
Przemyslaw Hugh Kaznowski
888184f50f
Add notifications for LQ v2 on CF ( #3480 )
...
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-02-27 15:18:25 +00:00
Micha de Vries
25c704a77f
Fix document not being available to delete permissions clause ( #3555 )
2024-02-21 10:04:45 +00:00
Przemyslaw Hugh Kaznowski
b52d630c4b
Adjust live statement to avoid storage on live query ( #3523 )
2024-02-20 14:32:37 +00:00
Przemyslaw Hugh Kaznowski
7b0771acb7
Change Feed stores original value of difference ( #3420 )
2024-02-20 11:11:49 +00:00
Farhan
485a224bcd
Add SurrealKV as an experimental backend store ( #3451 )
2024-02-15 20:47:10 +00:00
Emmanuel Keller
06a06338b2
Bug fix: In some conditions iteration stages would avoid iterating ( #3513 )
2024-02-15 11:32:20 +00:00
Mees Delzenne
3ccca6636b
Improve the js-surql value conversion for numbers ( #3460 )
2024-02-12 11:57:41 +00:00
Rushmore Mushambi
da94438e06
Revert "Bugfix: Compute futures in query conditions" ( #3476 )
2024-02-11 16:48:22 +00:00
Rushmore Mushambi
454509e4d1
Update dependencies and add ml2
feature ( #3385 )
2024-02-09 19:31:16 +00:00
Mees Delzenne
9ff0fade50
Bugfix: Fix a panic when invalid builtin function names are passed to the executor ( #3454 )
2024-02-07 15:13:40 +00:00
Rushmore Mushambi
2ee33e7bdb
Revert breaking changes from sql1
( #3433 )
2024-02-05 16:21:23 +00:00
Rushmore Mushambi
690dd55a86
Extract core lib into a standalone crate ( #3423 )
...
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-02-02 22:10:47 +00:00
Tobie Morgan Hitchcock
7f39754ec2
Fix: Ensure path idioms are correct when looping over ( #3363 )
2024-01-22 20:48:35 +00:00
Mees Delzenne
6592ba4368
Feature: Define types for subfields when defining fields. ( #3146 )
2024-01-22 07:24:14 +00:00
Micha de Vries
650eb8ed5d
Feature: Add READONLY
keyword to DEFINE FIELD
statement ( #3152 )
2024-01-19 16:58:54 +00:00
Gustavo
334c117a48
Feature: Add IF EXISTS
to REMOVE TABLE
statement ( #3243 )
...
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-01-19 14:02:07 +00:00
Rushmore Mushambi
c5138245a0
Add support for LIVE SELECT
in the SDK and CLI ( #3309 )
2024-01-16 11:48:29 +00:00
Gerard Guillemas Martos
618a4d1b42
Fix: Panic invoking parameters and functions without a database ( #3297 )
2024-01-10 17:56:13 +00:00
Mees Delzenne
2755f572fc
Introduce new experimental parser ( #2885 )
...
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
2024-01-10 16:43:56 +00:00
Emmanuel Keller
310213f5e4
Feat: knn brute force ( #3043 )
...
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-01-09 16:57:52 +00:00
Rushmore Mushambi
8bfdab31f2
bugfix: Ensure an attempt to set a protected variable returns an error ( #3216 )
...
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-01-05 11:28:01 +00:00
Rushmore Mushambi
23d67305f5
Fix deserialisation and HTTP engine regressions ( #3180 )
2023-12-20 10:31:19 +00:00
Mees Delzenne
953e496e7d
Bugfix: Compute futures in query conditions ( #3118 )
2023-12-19 09:17:48 +00:00
Emmanuel Keller
66063f11cd
Bug fix: Issue with scoring on complex queries ( #3174 )
2023-12-19 08:56:04 +00:00
Mees Delzenne
e5fb44fabd
Bugfix: Respect alias for dynamic field queries with type::field. ( #3163 )
2023-12-15 21:52:09 +00:00
Mees Delzenne
a7f186424e
Bugfix: Prevent overflow in math::power
( #3162 )
2023-12-15 21:50:34 +00:00
Micha de Vries
f66b7c8eec
Expand logic for static value validation ( #3151 )
2023-12-14 21:23:58 +00:00
Emmanuel Keller
a6c50cb5f5
Feat: In Memory index store ( #3020 )
2023-12-13 13:37:24 +00:00
Maxwell Flitton
2ae8416791
Add support for ML model storage and execution ( #3015 )
2023-12-12 13:51:43 +00:00
Micha de Vries
daf02dc4e6
INSERT
should respect unique indexes (#3092 )
2023-12-07 14:45:12 +00:00
Micha de Vries
d658a0a3fb
Always display permissions ( #3083 )
2023-12-06 21:30:18 +00:00
Micha de Vries
aac8ec8a36
Default table permissions should be NONE
( #3074 )
2023-12-06 00:06:53 +00:00
Micha de Vries
6e7c22e3b0
Optional function arguments should be optional ( #3036 )
2023-11-27 21:38:05 +00:00
Micha de Vries
81d82c6110
Basic object::
functions ( #3033 )
2023-11-27 19:14:41 +00:00
Rushmore Mushambi
3baf1c6ea9
Add Query::with_stats
to return query statistics along with the results ( #3019 )
2023-11-27 19:13:52 +00:00
Micha de Vries
d51d69d35a
Make SELECT ONLY
deterministic ( #3025 )
2023-11-26 20:11:41 +00:00
Emmanuel Keller
9ead2cdbb6
MTree fully tested with Euclidean and Manhattan distances ( #3006 )
2023-11-21 21:25:00 +00:00
Micha de Vries
aa8591c7f4
Implement type::is::none()
function ( #3011 )
2023-11-21 09:03:06 +00:00
Emmanuel Keller
6efd3e3d87
Feat: Analyzers to support functions ( #2974 )
...
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-11-20 18:36:21 +00:00
Mees Delzenne
256a08a396
Factor out the parser into its own module. ( #2979 )
2023-11-18 13:56:13 +00:00
Rushmore Mushambi
2d19ac9f7a
Add live query API ( #2919 )
...
Co-authored-by: Emmanuel Keller <keller.emmanuel@gmail.com>
2023-11-13 17:19:47 +00:00
Emmanuel Keller
0bdfbfe5df
Support of subfields for embedding indexing ( #2967 )
2023-11-13 16:11:38 +00:00
Micha de Vries
ed60a35b9b
Forward custom thrown errors in SIGNIN and SIGNUP queries ( #2902 )
2023-10-28 12:39:46 +00:00
Emmanuel Keller
b8ff68b464
Feat: Indexes used with the operators CONTAINS[ANY|ALL] ( #2879 )
2023-10-26 21:34:28 +00:00
Emmanuel Keller
08ac7579d1
Feat: Implements MTree index deletions ( #2738 )
2023-10-26 22:33:06 +01:00
Micha de Vries
38e0aa4aa9
Ability to cast string to a Thing/Record ID ( #2834 )
2023-10-26 13:18:49 +00:00
Micha de Vries
05907db1ea
Fix #2513 - Query results should be consistent and representative ( #2887 )
2023-10-26 10:05:44 +00:00
hchockarprasad
cfdd7c195c
Fix index plan for idiom param value ( #2865 )
2023-10-25 10:24:04 +00:00
Przemyslaw Hugh Kaznowski
872c6d9764
Add new clocks ( #2778 )
...
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
2023-10-18 08:56:22 +00:00
Djole
9d9fde2db8
Fix local engine endpoints ( #2813 )
...
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-10-10 06:01:21 +00:00
Emin Fedar
e6a8f598fe
feat: improve time module ( #2800 ) ( #2801 )
2023-10-08 00:46:40 +00:00
Tristan F
9a554e4370
fix: interchangable limit & order ( #2774 )
2023-10-04 09:53:46 -04:00
Przemyslaw Hugh Kaznowski
c6f6ca8062
Improve bootstrapping for finding invalid data from beta versions. ( #2700 )
...
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
2023-10-04 13:06:58 +00:00
Mees Delzenne
d9fa31f745
Fix clippy warnings in tests and clippy check tests in CI ( #2779 )
2023-10-04 09:51:34 +00:00