Mislav Bradac
c56eb4310e
Remember token positions for literals
...
Summary: Remove yaml
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D466
2017-06-13 17:11:27 +02:00
Teon Banek
7091be1891
Don't pass MEMGRAPH_ALL_LIBS to all cmake targets
...
Summary:
CMake is smart enough to transitively detect dependencies and link them
appropriately. Therefore, it is enough that we put all libraries that
memgraph uses to the dependency list of memgraph_lib and memgraph_pic
targets.
Patch the fmt library for C++14 and higher
fmt library would detect that C++11 is supported and then put the
compiler flag. This flag was set so it overrides parent project compiler
flags. This override from fmt would prevent us from using C++14
features. New version (3.1) of fmt resolves this issue, but it hasn't
been released yet. Therefore, this commit updates the script which
clones fmt to use the released 3.0.1 version and apply the fix on that.
Reviewers: dgleich, buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D441
2017-06-08 14:14:01 +02:00
Mislav Bradac
fea9031605
Refactor stripper
...
Summary: Fix tests
Reviewers: buda, florijan, teon.banek
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D435
2017-06-07 18:47:09 +02:00
Dominik Gleich
65507da9eb
Load configs from flagfiles.
...
Summary: Migrate configto gflags.
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D433
2017-06-07 15:38:17 +02:00
florijan
509d5db67a
Query - plan - cost estimator basic. REPL mods
...
Reviewers: teon.banek, buda, mislav.bradac
Reviewed By: teon.banek, buda
Subscribers: pullbot, teon.banek
Differential Revision: https://phabricator.memgraph.io/D399
2017-06-02 12:44:17 +02:00
Mislav Bradac
78af8c8339
Add variable with all memgraph dependent libraries
...
Reviewers: teon.banek, buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D324
2017-04-27 18:40:34 +02:00
Mislav Bradac
5434e79ea6
Merge string utils to one file
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D281
2017-04-18 17:39:58 +02:00
Dominik Gleich
863f55dc2f
Labels implementation.
...
Summary: Labels implementation
Reviewers: buda, teon.banek
Reviewed By: buda, teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D201
2017-04-03 11:50:22 +02:00
florijan
7b81b2b132
Query::Plan::Set - set ops API defined. ConsoleTest random graph generation modified
...
Reviewers: teon.banek, mislav.bradac, buda
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D190
2017-03-28 09:39:06 +02:00
florijan
2215173a58
Utils - random graph generator hacked
...
Summary: RandomGraphGenerator added
Reviewers: teon.banek, mislav.bradac, buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D165
2017-03-24 13:13:04 +01:00
Teon Banek
35668d5b9f
Make GNU Readline dependency optional
...
Reviewers: florijan, buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D171
2017-03-24 12:42:45 +01:00
florijan
11eb643a5e
Query - REPL fixes
...
Summary: Minor fixes.
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D168
2017-03-24 09:50:53 +01:00
florijan
f304dfef28
Query Console implemented
...
Summary: buda, teon.banek, mislav.bradac
Reviewers: mislav.bradac, buda, teon.banek
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D163
2017-03-23 15:51:25 +01:00
florijan
b236694fd2
Query - entry.hpp renamed to interpreter.hpp, Engine renamed to Interpreter
...
Summary: Query - interpreter console hack
Reviewers: buda, teon.banek, mislav.bradac
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D157
2017-03-22 16:39:00 +01:00
Teon Banek
b956d0812b
Move all query related exceptions to a single file
...
Reviewers: mislav.bradac, buda, florijan
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D125
2017-03-15 14:13:14 +01:00
florijan
1a6aaaed58
DBMS now returns a unique pointer to a GraphDbAccessor
...
Summary: See above.
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D120
2017-03-14 13:37:23 +01:00
Marko Budiselic
d0abb9f023
Interpreter works!
2017-03-12 03:05:31 +01:00
Marko Budiselic
1f75572d5e
it compilesga -A!
2017-03-12 00:04:10 +01:00
Marko Budiselic
0eeb1fc5b4
Basic interpreter implementation.
2017-03-11 21:09:26 +01:00
Marko Budiselic
9030454132
Add compiler prototype entry point (work in progress).
2017-03-11 21:02:25 +01:00
florijan
971e006d13
Query stripping now uses a parse tree and differentiates between int literals in a range expression (not stripped) and outside of a range (stripped).
...
Summary: See above
Reviewers: buda, mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D98
2017-03-08 14:19:55 +01:00
Mislav Bradac
00d818c762
Implement expression code generator
...
Summary: Work in progress, this is not usable yet
Reviewers: florijan
Reviewed By: florijan
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D84
2017-03-08 14:10:16 +01:00
Dominik Gleich
57740bcf95
Fix bug -db_accessor passed along as &
...
Summary: Db_accessor is tied to one transaction, and as such each query should work on seperate db_accessor.
Reviewers: florijan, buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D96
2017-03-07 15:55:56 +01:00
Dominik Gleich
f6529cd4c3
Clique #1 and #2 works.
...
Summary:
Merge branch 'dev' into clique_1
Started implementing clique.
Merge branch 'dev' into clique_1
Add multilne query reload.
Clique 1# implementation.
Merge branch 'dev' into clique_1
Clique #1 and #2 implemented.
Add delete all query. Remove unique from clique.
Reviewers: florijan, mislav.bradac, buda
Reviewed By: florijan, mislav.bradac, buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D73
2017-02-28 12:51:40 +01:00
Dominik Gleich
82414b9111
Fix naming of asserts.runtime_assert & assert -> debug_assert
...
Summary:
Merge branch 'dev' into rename_assert
Fix new files.
Remove cassert.
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D66
2017-02-24 11:41:55 +01:00
Dominik Gleich
e0f399ac42
Fix manual query engine config and paths.
...
Test Plan: In progress.
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D55
2017-02-21 15:41:44 +01:00
Marko Budiselic
2cee2cf480
youcompleteme config has been added to the repo
...
Summary: youcompleteme config has been added to the repo
Test Plan: manual
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D53
2017-02-20 14:17:41 +01:00
Marko Budiselic
fb90394499
A better configuration of cmake & clion
2017-02-20 01:25:57 +01:00
Marko Budiselic
3642fb1312
examples folder has been removed; src/test folder has been removed; the existing tests were moved to tests folder; StacktraceException has been introduced; query_plan_templated has been moved to query folder; hazard pointers have been deleted because they are not used any more
2017-02-18 18:03:48 +01:00
Marko Budiselic
d4e3c4cd10
clang format has been run on all hpp and cpp files under src and tests
2017-02-18 11:54:37 +01:00
Marko Budiselic
e7f5bd4c21
antlr integration, *.hpp and *.cpp inside src dir, cleanup
...
Summary: antlr integration, *.hpp and *.cpp inside src dir, cleanup
Test Plan: manual
Reviewers: mislav.bradac, dgleich, florijan
Reviewed By: florijan
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D49
2017-02-17 16:20:31 +01:00
florijan
70a8b93b0b
Major properties system and database accessor refactor: first stable state (compiles).
2017-02-15 14:10:16 +01:00
Marko Budiselic
0fcda94162
Hardcoded query infrastructure - first concrete version - USEFUL FOR: POCs & pilots
...
Summary: Hardcoded query infrastructure - first concrete version - USEFUL FOR: POCs & pilots
Test Plan: manual + jenkins
Reviewers: sale, florijan
Reviewed By: florijan
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D45
2017-02-14 09:40:31 +01:00
Marko Budiselic
422f6a9957
mistake, I forgot to add some changes
2016-12-22 19:28:21 +01:00
Marko Budiselic
715e4b302b
merge conflict resolved (tests/CMakeLists.txt)
2016-12-17 21:03:46 +01:00
Marko Budiselic
f4455daeb2
CMake refactor done - added single test granularity. Fixes T190, T194
2016-12-17 21:00:32 +01:00
Marko Budiselic
8854298606
First step towards more test granularity.
2016-12-16 14:32:37 +01:00
Marko Budiselic
d158333335
Added memgraph prefix. Fixes T160
...
Summary: Added memgraph prefix. Fixes T160
Test Plan: manual
Reviewers: sale
Subscribers: sale, buda
Maniphest Tasks: T160
Differential Revision: https://memgraph.phacility.com/D18
2016-12-16 14:05:29 +01:00
Marko Budiselic
21788d003a
Dressipi CRUD queries are dummy implemented; Fixes T99 and T131
...
Summary: Dressipi CRUD queries are dummy implemented; Fixes T99 and T131
Test Plan: manual
Reviewers: sale
Subscribers: buda, sale
Maniphest Tasks: T131, T99
Differential Revision: https://memgraph.phacility.com/D9
2016-11-29 04:08:49 +01:00
Marko Budiselic
e1e345ccbb
google benchmark support
2016-11-18 17:35:29 +01:00
Marko Budiselic
afc0a4a176
better architecture for hardcoded test queries (still has to be polished)
2016-11-17 15:46:36 +01:00
Marko Budiselic
d45121a1a2
scenario 000001 pass, dressipi scenario 1 - 3 more queries have to be implemented
2016-11-02 16:05:02 +01:00
Marko Budiselic
c312c2e369
iterators, properties, search by properties in index hardcoded query; TODO: implement in compiler
2016-10-19 02:41:06 +02:00
Marko Budiselic
6cce530b6c
barrier ifdefs (TODO: barrier should be removed)
2016-10-13 15:42:19 +02:00
Kruno Tomola Fabro
5d235b51f3
tmp commit
...
tmp commit
tmp commit v2
Finished reimplementation of propertys.
They now can be placed in a holder with different source of type information.
Tmp commit
2016-09-05 10:02:48 +01:00
Marko Budiselic
12880ba990
work in progress engine <-> barrier integration
2016-08-29 01:01:42 +01:00
Kruno Tomola Fabro
eaf2025cab
Merged with dev.
2016-08-28 21:16:36 +01:00
Marko Budiselic
9416bc7085
QueryEngine is now templated with Stream, Bolt bugfix (one message can have many chunks)
2016-08-28 18:50:54 +01:00
Kruno Tomola Fabro
77a3298d1e
tmp
2016-08-28 15:47:13 +01:00
Kruno Tomola Fabro
5a42e15c4a
Alpha version of label indexes.
...
Squashed messages from 9 commits:
9.
Properties now uses PropertyFamily and contained classes.
Fetching,seting,clearing properties can be done with PropertyFamilyKey or PropertyTypeKey.
Hierarchy of newly added clases is:
Vertices -n-> PropertyFamily {name: String} <-1-n-> PropertyType {type: Property::Flags}
Edges -n-> PropertyFamily {name: String} <-1-n-> PropertyType {type: Property::Flags}
PropertyFamilyKey -> PropertyType
PropertyTypeKey -> PropertyType
PropertyType t0,t1;
let t0!=t1 be true
let t0.family==t1.family be true
then next is true
PropertyTypeKey{&t0}!=PropertyTypeKey{&t1}
PropertyFamilyKey{&t0}==PropertyFamilyKey{&t1}
PropertyFamilyKey{&t0}==PropertyTypeKey{&t1}
PropertyTypeKey{&t0}==PropertyFamilyKey{&t1}
8.
Intermedate commit.
Noticed that integration queries throw SEGFAULT.
7.
Defined interface for indexes.
Fixed three memory leaks.
Fixed integration_queries test which now passes.
6.
Commit which return Xorshift128plus to valid shape.
5.
Tmp commit.
4.
Label Index is compiling.
3.
tmp
2.
Vertex::Accessor now updates Label index.
1.
Applied changes for code review.
2016-08-18 15:34:36 +01:00