Commit Graph

3237 Commits

Author SHA1 Message Date
antoniofilipovic
d201e69679 fix more clang tidy errors 2022-08-21 13:52:54 +02:00
antoniofilipovic
929e9433ea fix most clang tidy errors 2022-08-20 20:26:04 +02:00
antoniofilipovic
d5041c219e add tests for write and read 2022-08-19 17:36:35 +02:00
antoniofilipovic
c55183bd97 fix edges bug and paths bug and add tests 2022-08-19 12:58:37 +02:00
antoniofilipovic
5de88ea24b add problematic version of newRawMgpEdge 2022-08-19 11:23:42 +02:00
antoniofilipovic
f78b5b2f99 fix build on test query_procedures_mgp_graph 2022-08-16 17:24:36 +02:00
antoniofilipovic
3c84ad16cb fix part of tests 2022-08-16 17:21:08 +02:00
antoniofilipovic
6706d0701f add throwing exception on detach delete 2022-08-16 16:53:45 +02:00
antoniofilipovic
2285790521 implement edge removal 2022-08-16 14:40:16 +02:00
antoniofilipovic
5505257daa implement edge insertion 2022-08-16 14:22:49 +02:00
antoniofilipovic
93a2de96c1 implement remove vertex 2022-08-16 14:03:16 +02:00
antoniofilipovic
30638dbc75 add find vertex 2022-08-15 18:53:55 +02:00
antoniofilipovic
026ccc85ee add impl of insert vertex 2022-08-15 18:19:25 +02:00
antoniofilipovic
b776313c80 add subgraphVertexAccessor constructor for mgp_edge 2022-08-15 17:17:19 +02:00
antoniofilipovic
765145dbdf add filtering out/in edges, and subgraphvertex creation 2022-08-12 16:07:38 +02:00
antoniofilipovic
006aadac6e fix bug on acccessor not increasing 2022-08-12 13:42:57 +02:00
antoniofilipovic
c2b80afd0f add small fixes so build passes 2022-08-12 10:59:52 +02:00
Kostas Kyrimis
7d41c580dc Separate decl/def between source and header on files db_accessor and graph 2022-08-11 17:10:33 +03:00
antoniofilipovic
c65ba1618b add graph import in dbaccessor 2022-08-11 15:16:04 +02:00
antoniofilipovic
7bbc8f3c4f buildable state of VerticesIterable with wrong type for SubgraphVerticesIterable 2022-08-11 14:41:08 +02:00
antoniofilipovic
259d774539 add impl of vertices iterator 2022-08-11 14:04:02 +02:00
antoniofilipovic
d373365710 extend vertices iterable 2022-08-11 12:44:03 +02:00
antoniofilipovic
f762a7cdc8 change std::visit to use auto 2022-08-11 11:41:41 +02:00
antoniofilipovic
5d7238fad7 remove comments unnecessary 2022-08-07 16:33:06 +02:00
antoniofilipovic
08c6a09c77 refactor graph storing as set of edges and vertices and refactor serialization 2022-08-07 16:26:45 +02:00
antoniofilipovic
2775fdaea3 expend ast.lcp 2022-08-07 15:08:42 +02:00
antoniofilipovic
cf09181139 make buildable SubgraphVertexAccessor changes and SubgraphDbAccessor 2022-08-07 13:00:54 +02:00
antoniofilipovic
7c053bd87e add impl for subgraph vertex accessor 2022-08-05 16:56:40 +02:00
antoniofilipovic
3281d606ef add all missing functions for graph 2022-08-04 16:49:53 +02:00
antoniofilipovic
ff43f9b2d1 add rest of needed functions in SubgraphDbAccessor 2022-08-04 15:57:18 +02:00
antoniofilipovic
30864af98b add subgraph accessor and visitor logic for graph 2022-08-04 14:04:51 +02:00
antoniofilipovic
80845b0233 add implementation for edge iterator 2022-07-29 18:08:23 +02:00
antoniofilipovic
e4a3ba7a2b add non working version of edge iterator 2022-07-27 21:42:57 +02:00
antoniofilipovic
8fb770568f add possibility to send graph, ignore it 2022-07-27 11:46:46 +02:00
antoniofilipovic
78c459de1a add serialization for graph 2022-07-25 13:38:43 +02:00
antoniofilipovic
60c1412416 add edges impl 2022-07-22 16:55:27 +02:00
antoniofilipovic
d27ea7b869 all works till serialization 2022-07-21 17:07:27 +02:00
antoniofilipovic
a205030a15 add working graph creation 2022-07-21 16:34:17 +02:00
antoniofilipovic
e70e445899 add buildable graph impl 2022-07-21 11:37:04 +02:00
antoniofilipovic
12979c3048 add graph basic impl 2022-07-20 17:30:26 +02:00
antoniofilipovic
261072af89 try with map 2022-07-20 11:06:44 +02:00
antoniofilipovic
b7c8dc8ae7 add files modified with hook 2022-07-15 11:02:46 +02:00
Marko Budiselić
094d4f282d
Improve error-prone OS setup () 2022-07-13 17:48:01 +02:00
Jure Bajic
3dd2657320
Create mgp python package () 2022-07-12 10:54:23 +02:00
gvolfing
6fe474282a
Modify logaical operators to conform openCyper regarding checking against NULL in CASE expressions ()
* Make `IfOperator` return the `else_expression_` in case of `NULL`

* Add gql_behave tests

* Add gql_behave test to specifically check for the case when the test expression itself is null
2022-07-11 15:00:29 +02:00
gvolfing
7fc0fb6520
Implement ToString function for temporal datatypes ()
* Modify `toString` to be able to handle `Date`, `LocalTime`, `LocalDateTime` and `Duration`

* Add unit tests

* Make `operator<<` use the `ToString()` implementations

* Add tests to verify the correctness of negative durations

* Add more tests to look for cases when the individual duration entities overflow.
2022-07-11 13:44:27 +02:00
Jeremy B
063e297e1e
Avoid usage of time.sleep ()
e2e python: added tooling function around `time.sleep()` that stops as soon as condition is fulfilled and will raise assert if timeout is reached
2022-07-08 10:47:18 +02:00
Ante Javor
86b1688192
Rewrite Python API comments and snippets ()
* Update comments
2022-07-07 15:05:56 +02:00
Jeremy B
f629de7e60
Save replication settings ()
* Storage takes care of the saving of setting when a new replica is added

* Restore replicas at startup

* Modify interactive_mg_runner + memgraph to support that data-directory can be configured in CONTEXT

* Extend e2e test

* Correct typo

* Add flag to config to specify when replication should be stored (true by default when starting Memgraph)

* Remove un-necessary "--" in yaml file

* Make sure Memgraph stops if a replica can't be restored.

* Add UT covering the parsing  of ReplicaStatus to/from json

* Add assert in e2e script to check that a port is free before using it

* Add test covering crash on Jepsen

* Make sure applciaiton crashes if it starts on corrupted replications' info

Starting with a non-reponsive replica is allowed.

* Add temporary startup flag: this is needed so jepsen do not automatically restore replica on startup of main. This will be removed in T0835
2022-07-07 13:30:28 +02:00
Jeremy B
b737e53456
Remove sync with timeout ()
* Remove timout when registering a sync replica

* Simplify jepsen configuration file

* Remove timeout from jepsen configuration

* Add unit test

* Remove TimeoutDispatcher
2022-07-05 09:40:50 +02:00