memgraph/tests
Teon Banek b90375c3ae Remove GraphDbAccessor and storage types from Ast
Summary:
This diff removes the need for a database when parsing a query and
creating an Ast. Instead of storing storage::{Label,Property,EdgeType}
in Ast nodes, we store the name and an index into all of the names. This
allows for easy creation of a map from {Label,Property,EdgeType} index
into the concrete storage type. Obviously, this comes with a performance
penalty during execution, but it should be minor. The upside is that the
query/frontend minimally depends on storage (PropertyValue), which makes
writing tests easier as well as running them a lot faster (there is no
database setup). This is most noticeable in the ast_serialization test
which took a long time due to start up of a distributed database.

Reviewers: mtomic, llugovic

Reviewed By: mtomic

Subscribers: mferencevic, pullbot

Differential Revision: https://phabricator.memgraph.io/D1774
2019-01-16 09:47:42 +01:00
..
benchmark Remove GraphDbAccessor and storage types from Ast 2019-01-16 09:47:42 +01:00
concurrent Remove unused variables 2019-01-15 15:30:34 +01:00
distributed Fix distributed tests exit code 2018-11-07 22:46:55 +01:00
drivers Integrate driver tests with Apollo 2018-08-22 18:31:37 +02:00
feature_benchmark Optimize Raft log persistent storage 2019-01-15 16:06:08 +01:00
integration Extend raft integration test 2019-01-14 17:26:25 +01:00
macro_benchmark Fix parallel macro benchmarks 2018-11-06 16:49:12 +01:00
manual Remove GraphDbAccessor and storage types from Ast 2019-01-16 09:47:42 +01:00
property_based Remove virtual and pimpl from single node 2018-10-09 11:48:30 +02:00
public_benchmark Update LDBC query implementation 2018-07-10 10:08:21 +02:00
qa Refactor QA 2018-12-04 12:33:48 +01:00
stress Polish Bolt client and mg_client 2018-10-19 13:55:51 +02:00
unit Remove GraphDbAccessor and storage types from Ast 2019-01-16 09:47:42 +01:00
apollo_runs.py Add LCP tests 2018-10-15 11:52:20 +02:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Add kafka benchmark 2018-08-29 16:35:31 +02:00