b90375c3ae
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 |
||
---|---|---|
.. | ||
auth | ||
communication | ||
data_structures | ||
database | ||
distributed | ||
durability | ||
glue | ||
integrations | ||
io | ||
lisp | ||
query | ||
raft | ||
requests | ||
stats | ||
storage | ||
telemetry | ||
transactions | ||
utils | ||
CMakeLists.txt | ||
config.hpp | ||
memgraph_distributed.cpp | ||
memgraph_ha.cpp | ||
memgraph_init.cpp | ||
memgraph_init.hpp | ||
memgraph.cpp | ||
version.hpp.in |