Andi Skrgat
d21e4f13f7
Virtual storage fixes 1
2023-05-15 12:05:27 +02:00
Andi Skrgat
153222a2a7
Merge remote-tracking branch 'origin/accessors-interface' into disk-storage-v1
2023-05-05 14:29:23 +02:00
Aidar Samerkhanov
9e710aa00b
Replace implicit move by copy in MakeEdgeAccessor
2023-05-03 21:13:18 +00:00
Aidar Samerkhanov
dfdba859ff
Fix query engine build
2023-04-28 15:02:14 +00:00
Andi Skrgat
43fd6906b6
Expand from vertex
2023-04-27 13:12:36 +02:00
Andi Skrgat
7ed38621ce
Scan edges from the disk
2023-04-25 11:57:19 +02:00
Aidar Samerkhanov
d7dc8e1897
Fix tests in query plan create set remove delete
2023-04-23 20:51:09 +00:00
Aidar Samerkhanov
0803749269
Fix query expression evaluation tests
2023-04-22 20:06:11 +00:00
Aidar Samerkhanov
6408bd1760
Query dump tests fixes
2023-04-21 08:08:10 +00:00
Aidar Samerkhanov
9caf1fa099
Fix unique_ptr ownership.
...
Query engine accessors must be initialized through unique-ptr instead of raw pointer.
2023-04-18 19:56:09 +00:00
Aidar Samerkhanov
188162579c
Fix mg-query build
2023-04-17 14:56:30 +00:00
Aidar Samerkhanov
b5646489ba
Make query Accessors owners of pointers to storage accessors.
...
Add Copy() function to VertexAccessor and EdgeAccessor.
2023-04-17 07:10:36 +00:00
Aidar Samerkhanov
ed76943dff
Fix build of mg-query
2023-04-13 22:47:09 +00:00
Aidar Samerkhanov
e0da73780a
Fix db_accessor build in query engine
2023-04-13 19:56:09 +00:00
Aidar Samerkhanov
18bf1c237b
Fix some compilation errors in query engine module
2023-04-12 22:16:54 +00:00
Aidar Samerkhanov
3c0ae50a15
Fix build of storage library.
2023-04-12 20:53:48 +00:00
Aidar Samerkhanov
c64b607478
Add abstract classes for Accessor, VertexAccessor and EdgeAccessor.
2023-04-11 12:34:09 +00:00
Josipmrden
398503da7a
Add index statistics for better query planning ( #812 )
2023-03-30 15:34:34 +02:00
Antonio Filipovic
d79dd69607
Improve performance with props init on node|edge creation ( #788 )
2023-02-24 15:40:35 +01:00
niko4299
d6d4153fb7
Fix graph projection bug ( #697 )
2022-12-08 13:45:20 +01:00
Kostas Kyrimis
f1fe77adfb
Graph project feature implementation ( #508 ) ( #535 )
2022-09-07 16:00:49 +03:00
Jeremy B
d4f0bb0e38
Correct inconsistencies w.r.t. sync replication ( #435 )
...
Add a report for the case where a sync replica does not confirm within a timeout:
-Add a new exception: ReplicationException to be returned when one sync replica does not confirm the reception of messages (new data, new constraint/index, or for triggers)
-Update the logic to throw the ReplicationException when needed for insertion of new data, triggers, or creation of new constraint/index
-Add end-to-end tests to cover the loss of connection with sync/async replicas when adding new data, adding new constraint/indexes, and triggers
Add end-to-end tests to cover the creation and drop of indexes, existence constraints, and uniqueness constraints
Improved tooling function mg_sleep_and_assert to also show the last result when duration is exceeded
2022-08-09 11:29:55 +02:00
Kostas Kyrimis
7a2bbd4bb3
Remove ref from std::string_view ( #215 )
2022-06-21 17:18:43 +03:00
jbajic
12b4ec1589
Add memgraph namespace
2022-03-14 15:47:41 +01:00
Jure Bajic
9e678f8cbe
Add new memgraph licenses and move third party licenses ( #248 )
2021-10-03 12:26:48 +02:00
János Benjamin Antal
2afc1b99f6
New MGP API ( #219 )
2021-09-09 10:44:47 +02:00
antonio2368
b459639968
Other predefined variables ( #143 )
2021-05-26 14:13:14 +02:00
antonio2368
11c0dde11c
Support removed vertices in the triggers ( #140 )
2021-05-26 14:13:14 +02:00
antonio2368
2f3fa656d9
Predefined variables ( #138 )
...
* Add support for injecting predefined variables in any scope
2021-05-26 14:13:14 +02:00
antonio2368
3f3c55a4aa
Format all the memgraph and test source files ( #97 )
2021-02-18 15:32:43 +01:00
antonio2368
e866526c7a
Fix Centos build ( #79 )
...
* Don't run DocsHowToQuery.java on CentOS
Co-authored-by: Antonio Andelic <antonio.andelic@memgraph.com >
2021-01-24 08:17:21 +01:00
Josip Seljan
f7f861ca71
Add plan for label+property indexed node where property is not null ( #2 )
...
Replace ScanAll + Filter with a ScanAll variant performing label and property
lookup.
Co-authored-by: jseljan <josip.seljan@memgraph.io >
2020-10-01 13:22:21 +02:00
Matej Ferencevic
2562070b06
Use std::string_view in storage NameTo... functions
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2683
2020-02-25 12:15:31 +01:00
Tonko Sabolcec
e2e7823ec4
Add basic support for unique constraints in storage
...
Summary:
This diff contains a basic implementation of unique constraints consistent with
the MVCC storage.
Stale records in the unique constraints are collected by the garbage collector.
Tests for checking correctness of unique constraints and violations are included.
Note: currently we only support a pair of label and a single property. Support for
multiple properties will be added later.
Reviewers: mferencevic, teon.banek
Reviewed By: mferencevic, teon.banek
Subscribers: buda, ipaljak, pullbot
Differential Revision: https://phabricator.memgraph.io/D2608
2020-02-10 12:45:28 +01:00
Matej Ferencevic
0683ed4134
Remove MG_SINGLE_NODE_V2 define
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2637
2020-01-23 17:24:33 +01:00
Matej Ferencevic
98dc7e2849
Remove old storage types
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2633
2020-01-23 14:32:33 +01:00
Matej Ferencevic
10cc831ed2
Implement all edge filters for storage v2
...
Summary:
Edge filters (edge type and destination vertex) are now handled natively in the
storage API. The API is implemented to be the fastest possible when using the
filters with the assumption that the number of edge types will be small.
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2576
2019-12-04 10:13:28 +01:00
Teon Banek
df6ce53c67
query/procedure: Expose vertex ID through C API
...
Reviewers: mferencevic, ipaljak
Reviewed By: ipaljak
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2568
2019-11-26 17:06:31 +01:00
Matej Ferencevic
9e04183be7
Implement query execution timeout
...
Summary:
The query execution now has a timeout for each Cypher query it executes. The
timeout is implemented using TSC and will work only when TSC is available (same
as PROFILE). TSC is used to mitigate the performance impact of reading the
current time constantly.
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2562
2019-11-25 17:45:40 +01:00
Matej Ferencevic
9cc10e131d
Migrate tests to storage v2 part 1
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2554
2019-11-21 19:00:32 +01:00
Matej Ferencevic
29590f1112
Implement edge iteration with known destination
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2553
2019-11-21 11:58:12 +01:00
Matej Ferencevic
8be2b4af63
Remove output formatters from vertex/edge accessors
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2555
2019-11-20 20:12:19 +01:00
Matej Ferencevic
e4edb2be99
Finalize storage v2 index API
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2543
2019-11-12 12:11:38 +01:00
Matej Ferencevic
e350e2b7a4
Make the database dumper use only Vertices
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2539
2019-11-08 14:36:12 +01:00
Matej Ferencevic
9eb1f1d5cd
Implement ClearProperties for storage v2
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2537
2019-11-07 13:07:26 +01:00
Teon Banek
7bd45f8714
Make query execution work with storage_v2
...
Reviewers: mferencevic, ipaljak
Reviewed By: mferencevic
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2203
2019-09-12 10:22:00 +02:00
Teon Banek
85b01f8497
Add query/db_accessor.hpp which wraps storage implementation
...
Reviewers: mferencevic, ipaljak
Reviewed By: mferencevic
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D2361
2019-09-10 15:43:07 +02:00