1
0
Fork 0
Commit Graph

2700 Commits

Author SHA1 Message Date
Jan Steemann dac697d24b removed some leftover iostream includes 2015-12-21 18:20:43 +01:00
Max Neunhoeffer 61dd94bc27 Merge branch 'devel' into vpack 2015-12-21 16:06:45 +01:00
Max Neunhoeffer ade47c06dc Fix isSorted bug in cluster. 2015-12-21 16:06:04 +01:00
Max Neunhoeffer 61fe51072c Merge branch 'devel' into vpack 2015-12-21 15:22:46 +01:00
Max Neunhoeffer e8e6dc8597 More VPackObjectBuilder usages. 2015-12-21 15:22:19 +01:00
Max Neunhoeffer 8ce0a484e1 Fix graph traversal tests, behaviour and documentation. 2015-12-21 15:20:56 +01:00
Max Neunhoeffer 9d303b69d7 Merge branch 'devel' into vpack 2015-12-21 09:47:42 +01:00
jsteemann a41f65b0ca optimizer simplifications 2015-12-21 01:43:16 +01:00
jsteemann 50818d9c80 simplifications 2015-12-18 23:54:14 +01:00
jsteemann 19782a45a6 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-18 23:33:44 +01:00
Jan Steemann 36eac6ffd0 fixed index selection in some queries 2015-12-18 20:16:09 +01:00
Michael Hackstein 642a6261f2 Added a proper selectivity estimate for traversal nodes. 2015-12-18 18:02:13 +01:00
Michael Hackstein c00d0cbc4d Improved stability of AQL Traverser. Also added checks for illegal edge cases 2015-12-18 16:17:09 +01:00
Jan Steemann 8053911c39 tests for issue #1583 2015-12-18 12:15:52 +01:00
Jan Steemann 1faaaa0632 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-17 14:41:24 +01:00
Wilfried Goesgens e908be8cd4 fix style 2015-12-17 13:39:05 +01:00
Jan Steemann ad45a4b254 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-17 12:31:14 +01:00
Jan Steemann b76c61adb1 \0 fix 2015-12-17 12:28:16 +01:00
Jan Steemann 2b3f3f997b Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-17 10:59:30 +01:00
jsteemann ead2ee47e7 issue #1409: fix NUL-byte handling 2015-12-17 10:54:24 +01:00
Michael Hackstein 82eea28fea Merge branch 'vpack' of github.com:arangodb/arangodb into vpack 2015-12-16 19:03:15 +01:00
Wilfried Goesgens 1914fefc48 remove unused code path 2015-12-16 17:31:04 +01:00
Wilfried Goesgens 9d1f861736 Fix memory management of traverser expression. 2015-12-16 17:07:17 +01:00
Jan Steemann 8e18d6463f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-16 11:44:56 +01:00
Michael Hackstein 5e4efc7267 Updated AQL to class verison of TRI_col_info_t 2015-12-16 11:38:33 +01:00
Jan Steemann a694b7ef48 make_unique 2015-12-16 11:36:35 +01:00
Wilfried Goesgens da57d31488 Implement de/serializing of filters in traversalnodes 2015-12-16 11:17:38 +01:00
Max Neunhoeffer b337d9bd29 Fix shared_ptr<CONTAINER> direct-use in for bug. 2015-12-16 10:29:23 +01:00
Max Neunhoeffer 0198b4576b Merge branch 'devel' into ClustUp1 2015-12-15 20:40:52 +01:00
jsteemann 8003ea7d74 fixed undefined variable warning 2015-12-15 20:12:50 +01:00
Max Neunhoeffer 4451e491ec Merge branch 'devel' into ClustUp1 2015-12-15 17:46:34 +01:00
Michael Hackstein 5e332fa4b5 Adapted CXX function AQL EDGES to work with documents / Arrays as well. Similar to the old JS version 2015-12-15 16:38:45 +01:00
Michael Hackstein cd7b249e07 Fixed Cxx implementation of EDGES to be able to handle Edges 2015-12-15 16:38:03 +01:00
Jan Steemann ad8381ad6a Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-15 16:37:33 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Jan Steemann 223c44d572 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-15 12:02:47 +01:00
Max Neunhoeffer 8a69ca5367 Merge branch 'devel' into ClustUp1 2015-12-15 09:23:51 +01:00
Wilfried Goesgens f51e5efb34 Implement tests for de/serializing of TraversalNodes. 2015-12-14 18:07:04 +01:00
Max Neunhoeffer 525e54d5a0 Merge branch 'devel' into ClustUp1 2015-12-14 11:26:10 +01:00
Max Neunhoeffer 7641feeb88 Fix ClusterComm library w.r.t. pointers. 2015-12-14 11:22:30 +01:00
jsteemann db746389f8 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-14 00:12:36 +01:00
jsteemann 51c267cd2a dont optimize in certain cases when its useless 2015-12-14 00:12:14 +01:00
jsteemann fd29ccdbc5 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-13 23:37:22 +01:00
jsteemann 600c48375d added optimizer rule `sort-in-values` 2015-12-13 23:33:44 +01:00
Max Neunhoeffer af4d729284 The ClusterComm C++11 revolution. 2015-12-11 23:26:10 +01:00
Jan Steemann 43eff8f0e9 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-11 16:33:35 +01:00
Jan Steemann 5ae891ac20 fix for issue #1603 2015-12-11 16:24:33 +01:00
Jan Steemann 2bdbb13e2c Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-11 14:13:36 +01:00
Max Neunhoeffer 95b311f802 Merge branch 'devel' into ClustUp1 2015-12-11 13:33:33 +01:00
jsteemann 18e47457a6 fixes 2015-12-11 13:29:18 +01:00
Max Neunhoeffer c11ec07564 Merge branch 'devel' into ClustUp1 2015-12-11 13:28:07 +01:00
Wilfried Goesgens 8c1d6efaaf Improve error message 2015-12-11 13:02:23 +01:00
Michael Hackstein 1af985003d Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-12-10 10:26:14 +01:00
Max Neunhoeffer ea72850aeb Fix bug in client tests. 2015-12-09 23:13:26 +01:00
Michael Hackstein b8a9efbe33 Fixed a Illeagal memory access in BindParameters StripCollectionNames 2015-12-09 18:08:41 +01:00
Max Neunhoeffer 7a91accb71 Merge branch 'devel' into ClustUp1 2015-12-09 15:19:11 +01:00
Jan Steemann 98a5badb08 cppcheck 2015-12-09 14:49:44 +01:00
Max Neunhoeffer 7931be71a0 Merge branch 'devel' into ClustUp1 2015-12-09 12:45:07 +01:00
Michael Hackstein f6e24e41e7 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-12-09 12:41:57 +01:00
Jan Steemann 37c032c694 fixed invalid read 2015-12-09 12:05:38 +01:00
Michael Hackstein 757577de42 Updated VPack addObject to openObject 2015-12-09 11:28:54 +01:00
Michael Hackstein acadb089ee Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-12-09 10:29:13 +01:00
Max Neunhoeffer ec4e37b2f9 Merge branch 'devel' into ClustUp1 2015-12-08 20:13:17 +01:00
Jan Steemann 4cd2621d06 adjusted AQL function return values 2015-12-08 19:45:32 +01:00
Jan Steemann 76d5f57af0 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-08 18:23:06 +01:00
Max Neunhoeffer 4e523a19ed Merge branch 'devel' into ClustUp1 2015-12-08 17:02:14 +01:00
Jan Steemann ee6792dd6b fixes for traversal and multi-modify 2015-12-08 14:50:05 +01:00
Max Neunhoeffer 257c6c897d Fix bugs and tests. 2015-12-08 12:48:11 +01:00
Jan Steemann a3f42b5072 renamed test method 2015-12-08 11:49:45 +01:00
Jan Steemann 04f3abae2a Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-07 16:51:21 +01:00
Jan Steemann dd87d775b5 added comment 2015-12-07 16:26:54 +01:00
Jan Steemann f707eddbcc added tests 2015-12-07 16:06:58 +01:00
Max Neunhoeffer a8a9f1832b Merge branch 'devel' into ClustUp1 2015-12-04 23:06:11 +01:00
Jan Steemann 6fd4e9b1be Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-04 17:08:53 +01:00
Jan Steemann a53da38fcd fixed some cluster queries 2015-12-04 17:07:36 +01:00
Michael Hackstein 35fbe9aefd Fixed include <array> did not compile under Mac Os X 2015-12-04 15:28:49 +01:00
Max Neunhoeffer 60df924ac1 Change data structures for collections in Agency.
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Jan Steemann 5c033f566b Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-04 13:47:08 +01:00
Jan Steemann 785beaa625 cppcheck 2015-12-04 12:18:15 +01:00
Jan Steemann 3b1df26a79 added AQL function `IS_DATESTRING` 2015-12-04 10:53:01 +01:00
jsteemann f3e35b6497 updated grammar file 2015-12-03 23:26:28 +01:00
Michael Hackstein 11640a15ad Fixed a comment 2015-12-03 16:05:06 +01:00
Jan Steemann d8bf728fd3 added TRAVERSAL nodes for optimization checks 2015-12-03 15:25:16 +01:00
Jan Steemann b8cd633276 Windows fixes 2015-12-03 15:00:19 +01:00
Jan Steemann ec3ab298e1 added test for traversal after data modification 2015-12-03 13:46:11 +01:00
Jan Steemann 6c1717ec90 updated keywords list 2015-12-03 12:11:52 +01:00
Jan Steemann d572f3ed03 Merge branch 'aql-multi-modify' of https://github.com/arangodb/arangodb into devel 2015-12-03 11:38:30 +01:00
Michael Hackstein 86b4a7137d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-12-03 11:35:33 +01:00
Michael Hackstein 605e1bce55 Style fixes 2015-12-03 11:35:18 +01:00
jsteemann eb5b68089e even more unconstification 2015-12-03 11:11:10 +01:00
jsteemann 135d434a7f more unconstification 2015-12-03 11:09:35 +01:00
Michael Hackstein 3ea14e66a3 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-03 10:19:17 +01:00
jsteemann 840df0bf09 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-03 10:16:59 +01:00
Jan Steemann c0729fbc6b allow calling AQL functions that require collection name arguments with string values 2015-12-02 18:20:21 +01:00
Michael Hackstein b2e4673c65 Added a test for early filtering of < <= => > in Traversal 2015-12-02 17:52:01 +01:00
jsteemann 9fa0f6d3a7 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-02 16:38:50 +01:00
Jan Steemann 3a7eca45b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-02 15:41:51 +01:00
Jan Steemann 61a8e4c686 issue #1593: add POW() AQL function 2015-12-02 15:41:30 +01:00
Max Neunhoeffer 3821a775a3 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-12-02 14:48:04 +01:00
Max Neunhoeffer 3556f76469 Fix ClusterComm::asyncRequest w.r.t. body shared_ptr. 2015-12-02 14:15:18 +01:00
Michael Hackstein 3891d0a268 Fixed illegal no results optimization in traversal nodes. Also changed internal format for the reported graph 2015-12-02 11:36:44 +01:00
Michael Hackstein c109c86b06 Indention fix 2015-12-02 11:35:12 +01:00
Michael Hackstein 1a13af6f36 Merged remote changes with local stash 2015-12-02 11:34:58 +01:00
Jan Steemann eb8899d9ae applied changes suggested by cppcheck 2015-12-02 10:17:14 +01:00
Jan Steemann 6ce29823a8 fixed more memleaks 2015-12-01 17:22:14 +01:00
Jan Steemann 9497ca9c7c fixed memleaks 2015-12-01 17:07:32 +01:00
Jan Steemann 2bbcaa868f fixed invalid memory usages 2015-12-01 16:48:55 +01:00
hkernbach 6d25ac57e9 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-01 11:25:58 +01:00
Jan Steemann 0dd207f9f5 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-01 11:14:12 +01:00
jsteemann 49af794f5d Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-01 01:56:46 +01:00
jsteemann e7e00e95c1 some cleanup 2015-12-01 01:26:27 +01:00
jsteemann 37f72fa721 micro optimizations 2015-11-30 19:37:58 +01:00
Max Neunhoeffer f7e0b53fff Fix AQL query shutdown in cluster. 2015-11-30 14:24:31 +01:00
Michael Hackstein e9a36a3fbf Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-30 14:17:44 +01:00
Jan Steemann 593b5dc8df fixed non-deterministic query results in some cluster queries 2015-11-30 13:01:57 +01:00
Jan Steemann 5acd13e8e9 fixed assertion failure in some cluster queries 2015-11-30 12:48:26 +01:00
Jan Steemann e3c7760262 indentation 2015-11-30 12:46:01 +01:00
Jan Steemann dea7a3f56f fixed API 2015-11-26 17:41:58 +01:00
Jan Steemann a66368e10c Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-26 17:13:33 +01:00
Michael Hackstein 7bf37620bb Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-26 16:32:26 +01:00
Jan Steemann 389c3e0cf0 small optimizations 2015-11-26 16:31:25 +01:00
Michael Hackstein cda189d5ca Unvirtualized toJson of Traversal Node. Base Class toJson is required in Cluster. Explainer requires specific toJson 2015-11-26 16:02:38 +01:00
Jan Steemann 15368d12ba added a C++ implementation for AQL function `FULLTEXT` 2015-11-26 14:12:43 +01:00
Michael Hackstein 5fb76d7481 Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH 2015-11-26 09:32:15 +01:00
Michael Hackstein e9a7c6fa85 Adoption of Traversal and AstNode to newest changes in TraversalExpression 2015-11-26 09:31:54 +01:00
Wilfried Goesgens 42081165e0 Don't copy while iterating, use const references. 2015-11-25 16:49:01 +01:00
Wilfried Goesgens 8f04b616b5 fix typo 2015-11-25 16:48:35 +01:00
Jan Steemann db078f1554 changed some APIs of AssocMulti 2015-11-25 15:40:01 +01:00
Wilfried Goesgens 513404e9e8 Split searching for conditions and extracting them for analysis, so we can run the optimizer inbetween. 2015-11-25 15:22:45 +01:00
Wilfried Goesgens a0f9524df8 Add routine to normalize conditions without re-running the optimizer. 2015-11-25 15:22:11 +01:00
Wilfried Goesgens c061a3309a - implement new function that scans for nodes of a spcific types
- fix scanning for variable references with n-nary ors / ands
2015-11-25 15:21:11 +01:00
Jan Steemann 981c578812 changed other index APIs 2015-11-25 15:05:02 +01:00
Jan Steemann 19b2d28167 pass transaction to index APIs 2015-11-25 14:42:29 +01:00
Jan Steemann 9ef5b4746a removed several includes from Common.h 2015-11-25 12:21:55 +01:00
Jan Steemann b6752faf0b Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-25 11:44:32 +01:00
Jan Steemann 9b1ef915eb issue #1589 2015-11-25 10:49:31 +01:00
Jan Steemann 75e4e6e815 added transaction to all signatures 2015-11-24 17:34:23 +01:00
hkernbach 2d417e393d Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-24 13:24:12 +01:00
Michael Hackstein b18ce56a68 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-20 10:49:00 +01:00
Wilfried Goesgens a5c50ad8e9 we have to flush the work vectors before we invoke findVariableAccess() 2015-11-19 17:21:33 +01:00
Jan Steemann 08d817ba53 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-19 14:36:11 +01:00
Jan Steemann bc3bbc46b5 fixed Visual Studio warnings 2015-11-19 14:29:49 +01:00
Jan Steemann 59084c193d Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-19 13:28:57 +01:00
Jan Steemann 89e0f887b9 velocypack update 2015-11-19 13:28:40 +01:00
jsteemann 19373f80fa removed dependency on vector.h 2015-11-19 01:41:42 +01:00
jsteemann f900090584 fixed undefined behavior 2015-11-19 00:16:00 +01:00
jsteemann cb62c657e0 initial commit 2015-11-18 17:46:19 +01:00
Michael Hackstein 001dd4debf The local traverser now early filters on vertices 2015-11-18 16:14:17 +01:00
Michael Hackstein 1f6519b01e Using early abortion in local Traverser for AQL. Now it's cluster time 2015-11-18 14:50:03 +01:00
Michael Hackstein 7a36bbb43f Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-18 13:58:47 +01:00
Michael Hackstein d002ccccff Deactivated late complete condition check in AQL Traverser 2015-11-18 09:41:25 +01:00
Michael Hackstein 508b63803c Improved error message AQL execute 2015-11-18 09:40:54 +01:00
Michael Hackstein 0adbef4f76 Transformed the TraversalExpression vector into a map ordered by access level. This is way more convenient on the Traverser side to be used. 2015-11-17 16:25:45 +01:00
Michael Hackstein 3afddb32ed The TraversalBlock now executes all expressions locally. It is able to hand them over to Traversers 2015-11-17 14:11:15 +01:00
Jan Steemann a6b898c34a Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-17 14:09:15 +01:00
Jan Steemann 82eddeb120 allow using array indexes without specifying the `[*]` extension 2015-11-17 14:03:58 +01:00
Wilfried Goesgens 5428ac0682 Broaden the range of expressions we can push out into the cluster as simple expression. 2015-11-17 11:34:45 +01:00
Michael Hackstein a5273e8fec Preperation for DBServer local filtering 2015-11-17 11:01:51 +01:00
Michael Hackstein 2d9f466f38 Minor style fixes 2015-11-17 10:35:32 +01:00
Jan Steemann 4c0dca210a Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-17 10:29:56 +01:00
Michael Hackstein 3845f8b7eb Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH 2015-11-17 08:54:59 +01:00
jsteemann 8dbcf9e940 error message adjustment 2015-11-16 21:53:05 +01:00
Michael Hackstein 4c45e3fb5a Fixed a bug when using edge collections in Traversal 2015-11-16 19:48:20 +01:00
Wilfried Goesgens ed7ba7f573 append javascript stacktraces to the errormessage, so the caller of AQL-JS function can find out where it broke 2015-11-16 16:59:15 +01:00
Wilfried Goesgens 5dd70c78c0 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-16 15:55:33 +01:00
Wilfried Goesgens c2fcef77e6 remove p.edges[*].foo detection, we can't handle this. 2015-11-16 15:43:54 +01:00
Michael Hackstein 3923c7936e EdgeCollections are now evaluated to cids later in TraversalBlock. This change was necessary for the Cluster 2015-11-16 09:09:34 +01:00
Michael Hackstein eec9c02a36 Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH 2015-11-13 17:12:36 +01:00
Michael Hackstein 04da539ba1 Further implementation of Cluster Traverser. It now has code that in theory should fetch the first set of edges. Right now it fails for undefined collection name 2015-11-13 17:12:33 +01:00
Wilfried Goesgens 418ddc4dd5 Implement simple condition extractor 2015-11-13 16:49:12 +01:00
Michael Hackstein b7a8a364fc Started Including the Cluster Traversal in AQL. Right now the result is empty but the server will not crash any more. Now starting with the real implementation. 2015-11-13 11:08:18 +01:00
Michael Hackstein 173a746cc9 Added new constructor for AstNodes which is independent from AQL. 2015-11-13 11:07:06 +01:00
Michael Hackstein 8d0d921ab6 Included two Abstract classes for Traversals. Traverser and TraversalPath. Implemented both of them for Single-Server Traversals. 2015-11-12 16:25:36 +01:00
Michael Hackstein fbee0b0859 Started to transform Parts of AQL Query to VPack. Especially the QueryResult is now using VPack internally. 2015-11-12 11:09:35 +01:00
Jan Steemann 39715be1ab Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-11 15:18:00 +01:00
Jan Steemann 25fa71187d fixed error messages 2015-11-11 14:43:28 +01:00
Jan Steemann aa38f5d036 fixed error messages 2015-11-11 13:58:48 +01:00
Wilfried Goesgens 92ad802bd6 Cache Graphs inside of the Query object
- split Graph clas into Aql/Graphs
  - cleanup includes
2015-11-11 13:52:33 +01:00
Wilfried Goesgens 2d5d2d881e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-11 11:05:06 +01:00
Wilfried Goesgens ae4d888c9a - Make graphs lookup clustrer ready
- remove cache, its hard to maintain when its valid and when not.
2015-11-11 11:04:12 +01:00
Michael Hackstein 8cd8e048bc Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-11-10 17:25:40 +01:00
Jan Steemann c39be860b4 fixed compile errors 2015-11-10 15:21:25 +01:00
Wilfried Goesgens 04b1d75d51 Improve error handling, differenciate between collection not found and collection wrong for vertex 2015-11-10 13:32:46 +01:00
Michael Hackstein f6622011bf Removed references to TRI_json_t in RestSimpleHandler 2015-11-10 09:56:14 +01:00
Wilfried Goesgens 18f8d084b8 Implement checking for invalid range-attributes to the traversalnode, and emplace a NoResultsNode in that case. 2015-11-09 15:39:08 +01:00
Wilfried Goesgens 10fd57c391 remove debug output 2015-11-09 11:21:27 +01:00
Wilfried Goesgens c27ee437dd Properly communicate whether we altered the plan or not. 2015-11-09 10:59:40 +01:00
Michael Hackstein bedb61ea49 Removed cast for size_t in VPack. It is different in Mac and Linux but now VPack supports both natively 2015-11-07 18:51:31 +01:00
Wilfried Goesgens 68190856ac - fix matching *
- implement filtering out conditions that would reference variables unknown to the traversal node
2015-11-06 15:52:01 +01:00
Wilfried Goesgens 9ad613a0a8 Return the variables that expressions use too in getVariablesUsedHere() 2015-11-06 15:50:59 +01:00
Michael Hackstein ede603b74a QueryCache and it's RestHandler now use VelocyPack 2015-11-06 15:43:47 +01:00
Wilfried Goesgens 7a54982eb4 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-06 13:53:21 +01:00
Wilfried Goesgens d51b5cdc9b Finalize the explain feature 2015-11-06 13:41:44 +01:00
Michael Hackstein 6b62d50ced Added CXX Implementation of MERGE_RECURSIVE 2015-11-05 17:35:03 +01:00
Michael Hackstein 2542ea5924 Added a CXX implementation for POSITION 2015-11-05 15:29:00 +01:00
Michael Hackstein 6cab84e972 Added CXX implementation for RANGE 2015-11-05 14:26:53 +01:00
Michael Hackstein 90aa5c858f Added CXX implementation for MEDIAN and PERCENTILE 2015-11-05 11:21:16 +01:00
Michael Hackstein dbc67518a4 Added CXX implementation for STDDEV_SAMPLE and STDDEV_POPULATION 2015-11-04 17:53:45 +01:00
Wilfried Goesgens 179660e87c Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-04 17:07:09 +01:00
Michael Hackstein 0294be6ebe Added a CXX implementation for VARIANCE_POPULATION. 2015-11-04 16:49:08 +01:00
Michael Hackstein a1f947c9bf Added a CXX implemention for VARIANCE_SAMPLE 2015-11-04 16:39:45 +01:00
Michael Hackstein a958714bcc Added a CXX implementation for CURRENT_DATABASE. 2015-11-04 14:40:16 +01:00
Michael Hackstein b43eb25135 Added CXX implementation for REMOVE_VALUES 2015-11-04 14:02:27 +01:00
Michael Hackstein 03b6a021ce Adde CXX implementation of NOT_NULL 2015-11-04 13:38:22 +01:00
Jan Steemann dca3d207a1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-11-04 13:19:04 +01:00
Jan Steemann 3f078553f9 fixed leaks 2015-11-04 13:18:48 +01:00
Michael Hackstein 3549be5088 Added CXX implementation for REMOVE_VALUE and REMOVE_NTH 2015-11-04 12:44:30 +01:00
Michael Hackstein 1957ef668d Added CXX implementation of SHIFT 2015-11-03 17:36:28 +01:00
Michael Hackstein c74aca37ac Added CXX implementation for UNSHIFT 2015-11-03 17:07:47 +01:00
Michael Hackstein 7ace3c42e4 Added a CXX implementation of APPEND 2015-11-03 11:51:12 +01:00
Michael Hackstein 5154e4de7a Added CXX implementation of POP 2015-11-03 10:21:35 +01:00
Jan Steemann 6d04ade890 avoid Visual Studio compile warnings 2015-11-03 10:21:35 +01:00
Michael Hackstein d75bc51647 Added a CXX implementation of PUSH 2015-11-03 10:21:31 +01:00
Michael Hackstein 1848c0f1f4 Added CXX implementation for FIRST_DOCUMENT and FIRST_LIST. 2015-11-03 10:21:31 +01:00
Michael Hackstein b71fa3e140 Added CXX implementation of Modulo. 2015-11-03 10:21:31 +01:00
Michael Hackstein 4627cdabb3 Added warnings for division by zero in CXX implementation. 2015-11-03 10:21:30 +01:00
Jan Steemann 2a2ddea576 fixed compile warning 2015-11-03 10:21:30 +01:00
jsteemann b1a95cb42c added AQL function `UNSET_RECURSIVE` 2015-11-03 10:21:30 +01:00
jsteemann cbb691410c added CXX implementations for `FIRST`, `LAST` and `NTH` 2015-11-03 10:21:28 +01:00
jsteemann 8d2c3fd7ca remove even more FILTER conditions 2015-11-03 10:21:26 +01:00
jsteemann a9a0a7e8cb removed unused method 2015-11-03 10:19:31 +01:00
Michael Hackstein 0339cb5e0c Added a CXX implementation of BINARY_OPERATOR_DIV. Deactivated CXX implementation of BINARY_OPERATOR_MOD have to check for data types 2015-11-03 10:19:31 +01:00
Michael Hackstein f23259b2bb Added CXX implementation of BINARY_OPERATOR_DIV 2015-11-03 10:19:30 +01:00
Michael Hackstein ceec76f13b Added CXX implementation for BINARY_OPERATOR_TIMES 2015-11-03 10:19:29 +01:00
Michael Hackstein 344f70fee2 Added CXX implementation for BINARY_MINUS 2015-11-03 10:19:29 +01:00
Max Neunhoeffer 21bc08715a Fix heartbeat thread of DBserver, less sleeping. 2015-11-03 10:19:26 +01:00
Michael Hackstein 11606c1f55 Added a CXX implementation of BINARY_PLUS. 2015-11-03 10:19:26 +01:00
Jan Steemann afdcc68e51 minor patches 2015-11-03 10:19:25 +01:00
Michael Hackstein 4a0bd0f72c Refactored executeSimpleExpression. It now is a simple switch case with different private function calls. Instead of a 500 lines long function. 2015-10-30 15:53:49 +01:00
Michael Hackstein 2a32f71fe1 Started refactoring executeSimpleExpression. 2015-10-30 14:55:38 +01:00
Jan Steemann f646110a86 fixed author 2015-10-30 13:59:04 +01:00
Michael Hackstein ac1cf36daf Added CXX implementation for ROUND and RAND 2015-10-30 11:06:57 +01:00
Michael Hackstein 858a8ba4f8 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-30 10:27:21 +01:00
Michael Hackstein 2cbfce5cc2 Added CXX implementations for ABS, CEIL, FLOOR, SQRT 2015-10-30 10:26:52 +01:00
Jan Steemann c98eae05e1 use indexes in more cases 2015-10-30 10:12:26 +01:00
Wilfried Goesgens 9c3402876d Now we know to filter for conditions that we can't analyze. 2015-10-29 17:48:46 +01:00
Wilfried Goesgens a05e96b508 these AST-nodes are optional. 2015-10-29 17:47:36 +01:00
Wilfried Goesgens bb9039c855 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-10-29 16:01:01 +01:00
Jan Steemann 9aa1ba1f68 potential fix for ::stringify() 2015-10-29 15:58:47 +01:00
Michael Hackstein cc35fdb7b0 Added the implementation and more tests for EDGES in CXX only 2015-10-29 15:52:46 +01:00
Wilfried Goesgens ba159428be Implement function to find all variable references in an expression. 2015-10-29 13:29:21 +01:00
Michael Hackstein 82424a4623 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-29 09:51:39 +01:00
Michael Hackstein 6552c73d25 Added a CXX implementation of DOCUMENT 2015-10-29 09:50:40 +01:00
jsteemann 733a3000b7 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-28 21:43:08 +01:00
jsteemann cd745f3266 order ditches 2015-10-28 21:43:02 +01:00
Michael Hackstein 293bdf4458 Implemented a CXX version of MINUS 2015-10-28 17:29:51 +01:00
Michael Hackstein 18d72e526c Fixed memleak in ZIP 2015-10-28 16:45:47 +01:00
Michael Hackstein d8d37a3bd5 Added a CXX implementation for PARSE_IDENTIFER 2015-10-28 16:02:15 +01:00
Michael Hackstein 66ae927e3c Added a CXX implementation of ZIP. Made the CXX implementation of FLATTEN more relaxed. It now works with invalid maxDepth entries and falls-back to 1 there 2015-10-28 15:06:22 +01:00
Michael Hackstein 9e98d5b87b Added CXX implementation of FLATTEN incl tests. 2015-10-28 14:10:03 +01:00
Wilfried Goesgens 327b408a22 Start implementing early filtering of paths to exclude from the result 2015-10-28 12:37:13 +01:00
Wilfried Goesgens 5ef165a245 Autogenerated file. 2015-10-28 12:36:35 +01:00
Wilfried Goesgens 951165ab1e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
Conflicts:
	arangod/Aql/grammar.cpp
	arangod/Aql/grammar.h
	js/common/modules/org/arangodb/graph-examples/example-graph.js
2015-10-28 11:08:18 +01:00
jsteemann 5fff134c80 added CXX implementations of `WITHIN` and `NEAR` AQL functions 2015-10-27 23:24:00 +01:00
Michael Hackstein 021eb6ae4b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-27 16:36:33 +01:00
Michael Hackstein c655cbc65f The cluster will not ask any other index than Skiplist or Hash if it can serve for condition. All others can only be used by functions and use different ways. 2015-10-27 16:36:19 +01:00
Jan Steemann 63bebc4fe2 index printing 2015-10-27 16:16:46 +01:00
Jan Steemann 67d033c8b2 fixed segfault with string collection names 2015-10-27 11:14:52 +01:00
Wilfried Goesgens 36f289ea16 We picked the Executionnode from the plan to a local variable, we can use it later on. 2015-10-26 13:52:32 +01:00
Wilfried Goesgens d113f2e17a We picked the Executionnode from the plan to a local variable, we can use it later on. 2015-10-26 13:51:35 +01:00
Frank Celler 4b99be0c30 added --enable-console to configure 2015-10-25 19:59:16 +01:00
Jan Steemann 025e470e3b added a single-array parameter variant for the AQL MERGE function 2015-10-23 15:29:53 +02:00
jsteemann 058fec96f6 removed some dependencies 2015-10-23 00:15:07 +02:00
Jan Steemann ec7bb3e820 fix for Windows build 2015-10-22 18:41:13 +02:00
Jan Steemann 49d8e94daf added includes 2015-10-22 17:26:22 +02:00
Jan Steemann 5a190d1110 fixed leaks, index speedup 2015-10-22 17:03:05 +02:00
Michael Hackstein 3af1f80dc9 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-22 16:23:05 +02:00
Michael Hackstein c3c57d26a0 Improved skip in Enumerate collection 2015-10-22 16:22:56 +02:00
Jan Steemann 4dde92470f attempt to speed up index queries 2015-10-22 14:11:27 +02:00
Wilfried Goesgens e9928de21b start to fix graph implementation for explain() 2015-10-22 13:05:13 +02:00
Wilfried Goesgens cd6cc35def Adjust the stage to the now non-void pointered index implementation. 2015-10-22 11:12:21 +02:00
Jan Steemann 35f01d1959 fixed assertion failure when trying to optimize multiple INs with OR 2015-10-21 17:41:57 +02:00
Wilfried Goesgens dae95de667 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-10-21 14:54:01 +02:00
Michael Hackstein e13ddcf7b2 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-21 12:55:16 +02:00
Michael Hackstein 7fb4679fb2 Added some failure tests for the IndexNode, ConditionFinder. Todo Index tests 2015-10-21 12:54:25 +02:00
Jan Steemann ba95ddf228 fixed cluster behavior 2015-10-21 12:12:08 +02:00
Jan Steemann aa3039cece fixes for cluster tests 2015-10-20 18:10:53 +02:00
Jan Steemann 60283f13b9 fixed memleaks 2015-10-20 12:05:52 +02:00
Jan Steemann b28393e458 cleanup 2015-10-20 11:44:01 +02:00
Jan Steemann 164f9c9a1c fixed some tests 2015-10-19 17:48:10 +02:00
Jan Steemann e2d97e623f merge multiple ORs 2015-10-19 17:28:43 +02:00
Jan Steemann eecb6a9949 Merge branch 'aql-jmmh-conditions' of https://github.com/arangodb/arangodb into aql-jmmh-conditions 2015-10-19 15:36:17 +02:00
Jan Steemann 663a92567b updated replace-or-with-in optimizer rule 2015-10-19 15:36:04 +02:00
Michael Hackstein 3a3ab872f0 Fixed internal error for plan instantiation if the condition is empty 2015-10-19 15:09:59 +02:00
Jan Steemann a169d872b1 sort conditions with INs 2015-10-19 13:27:20 +02:00
Jan Steemann 5babaefadc disable MSVC warning about long names 2015-10-19 12:56:14 +02:00
Jan Steemann 38c852cfc8 Merge branch 'aql-jmmh-conditions' of https://github.com/arangodb/arangodb into aql-jmmh-conditions 2015-10-19 12:45:57 +02:00
Jan Steemann 81cd1e9f62 fixed Windows compile issues 2015-10-19 12:43:11 +02:00
Michael Hackstein 4a8de4b3ef Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-19 12:30:19 +02:00
Michael Hackstein 276bfded36 Fixed distinct result of IndexNode. Was broken in reverse case. 2015-10-19 12:29:23 +02:00
Jan Steemann 8aabe4d59c fixed sort bugs 2015-10-19 11:57:44 +02:00
Michael Hackstein 20fa1f6623 Started fixing of reverse IndexNode iteration. Does not yet work for IN 2015-10-17 20:08:37 +02:00
Michael Hackstein 8fceb242fc Fixed a bug with Filter evaluation. All conditions have been thrown away instead of only invalids 2015-10-17 20:05:17 +02:00
Michael Hackstein e2c5b9a026 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-17 17:49:38 +02:00
jsteemann f075d6e4b5 sort IN values 2015-10-17 15:24:36 +02:00
Michael Hackstein 99164e8e68 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-17 15:11:37 +02:00
jsteemann ef2c1bc3cc changed sortOrs execution position 2015-10-17 15:09:25 +02:00
Michael Hackstein e825558b69 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-17 14:49:04 +02:00
jsteemann 08b1bcf69c fixed invalid usage of non-collection variables in Condition 2015-10-17 14:47:16 +02:00
Michael Hackstein 2137089369 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-16 10:54:18 +02:00