1
0
Fork 0
Commit Graph

231 Commits

Author SHA1 Message Date
jsteemann 97c5450e1f optimizations
added C++ implementation for AQL SLICE() function
allow execution of expressions in C++ that contain calculated object elements
do not merge two calculation nodes if they are of different expression types (e.g. simple vs. V8)
added de-duplication of object keys in case the object contains non-unique names
2016-05-19 00:22:35 +02:00
Jan Steemann d1f9ea3f68 fixed issue #1823 2016-05-17 11:30:23 +02:00
jsteemann 0828abbb5c query less documents 2016-05-13 14:26:34 +02:00
jsteemann abb0f36d55 fixed hashes 2016-05-12 11:11:20 +02:00
jsteemann d4cb93fb9c added TYPENAME() and HASH() functions 2016-05-11 23:54:00 +02:00
Michael Hackstein e9787018b3 The Pattern matching now allows a minDepth of 0 and even a complete search of depth 0. 2016-05-09 17:48:55 +02:00
Michael Hackstein 914bb6c93e Fixed JSLint 2016-05-09 11:03:30 +02:00
Michael Hackstein a24fc0757d Added some more tests for wired AQL append input parameters. 2016-05-09 09:57:56 +02:00
Jan Steemann 838e3dc866 fixed handling of externals in some cases 2016-05-06 11:52:06 +02:00
Michael Hackstein 262ff9b75e Added a test for intersection with documents directly out of the database. 2016-05-04 17:32:13 +02:00
Michael Hackstein 62f2d55c20 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-04 16:46:13 +02:00
Michael Hackstein 4f674220ab Added brute force tests in AQL functions. 2016-05-04 16:45:59 +02:00
jsteemann f2d014ff6a bugfixes 2016-05-04 16:10:04 +02:00
Michael Hackstein aab91d51e6 Fixed JSLint 2016-05-04 10:40:06 +02:00
Michael Hackstein c8cdb5ab93 Added a test for large overlapping ranges in skiplists. This covers a bug where unification of results lead to early lookup abortion. 2016-05-04 10:17:29 +02:00
Jan Steemann a19c437cdd jslint 2016-05-03 12:04:13 +02:00
Michael Hackstein 1e9b3a7762 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-02 17:31:05 +02:00
Alan Plum 53dc168a71
Linting 2016-05-02 14:42:10 +02:00
Jan Steemann 2b0f3f7b57 change behavior of arithmetic operators, TO_STRING and TO_NUMBER 2016-05-02 13:29:29 +02:00
Michael Hackstein ddc7b2ca98 Further tests for AQL externals 2016-04-29 17:39:43 +02:00
Michael Hackstein 0ca6452bab Started to add some tests for VPack externals in AQL. 2016-04-29 17:30:50 +02:00
Michael Hackstein bd302a023c Reduced the nesting level of arrays in AQL test. Icannot be executed on MacOs and asan 2016-04-26 11:50:19 +02:00
Jan Steemann 5027d7fe1f documentation for LIKE 2016-04-21 12:46:42 +02:00
Simran Brucherseifer a5ad9f33a9 Minor corrections
Excluded Aardvark, the graph viewer in particular
2016-04-20 22:09:00 +02:00
jsteemann 9d258f47e0 added test case 2016-04-20 12:26:07 +02:00
Jan Steemann 2533affb02 fixed crash 2016-04-19 15:38:30 +02:00
Jan Steemann e14fd29339 fixed cluster test 2016-04-18 17:04:03 +02:00
Jan Steemann a3ad9ba3a3 fixed issue #1805 2016-04-18 15:09:42 +02:00
jsteemann 30ec73e596 AQL bugfixes and tests, CHANGELOG updates 2016-04-17 20:57:13 +02:00
jsteemann 2294a4287c added tests 2016-04-17 11:31:45 +02:00
jsteemann 1ca9606bbc added tests 2016-04-17 11:21:07 +02:00
jsteemann 43f040b3c5 added test cases 2016-04-17 11:04:46 +02:00
jsteemann ecd7de16cb added optimizer rule "inline-subqueries" 2016-04-15 17:21:22 +02:00
Jan Steemann 576fcab12b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-13 16:29:26 +02:00
Jan Steemann a0fde1b7b2 allow array values in attribute name bind parameters 2016-04-13 16:29:09 +02:00
Michael Hackstein 1352e3d682 Fixed JSLINT 2016-04-13 15:57:49 +02:00
Michael Hackstein b043b103e0 Optimized IN in AQL pattern Matcher properly. Also added some tests for it 2016-04-13 14:49:21 +02:00
Jan Steemann 9163236f2b renamed optimizer rule "merge-traversal-filter" into "optimize-traversals" 2016-04-12 14:51:15 +02:00
Simran Brucherseifer 5905465c26 Add unit tests for TO_BOOL() and unary not with a whole document 2016-04-09 01:55:00 +02:00
Jan Steemann 32c0c91926 fixed tests 2016-04-07 17:01:45 +02:00
Michael Hackstein 1b967d9535 Started fixing AQL-failures-noncluster tests. Still two are failing. Return and Sort. 2016-04-07 14:37:18 +02:00
Michael Hackstein dc58c5d769 Fixed Modify edges in cluster test. Expected old return codes 2016-04-04 18:41:28 +02:00
Jan Steemann 9ac39b7ad6 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-23 16:36:30 +01:00
Michael Hackstein 2d45a6e5b2 Fixed statistics for Traversals. Also uses less lookups now 2016-03-23 16:04:53 +01:00
Michael Hackstein 42b866804f Fixed test that relied on a non deterministic ordering 2016-03-23 12:45:40 +01:00
Michael Hackstein 9bd35dcb63 Fixed tests for errors in AQL Edges function. It is more relaxed for input parameters. It does not THROW but simply returns an empty array instead 2016-03-23 12:17:59 +01:00
Michael Hackstein 46f4d627e6 Added some tests for Traversals in subqueries 2016-03-23 11:03:54 +01:00
Michael Hackstein 8dfaf023fc The test for EDGES now does not expect 'CollectionNotFound' if the start vertex collection does not exist. 2016-03-22 09:54:45 +01:00
Jan Steemann b672ce0985 test fixes 2016-03-21 12:15:40 +01:00
Jan Steemann f17d17841f Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-21 09:28:35 +01:00
jsteemann 5ded90ed1c fixed compare function for Custom attributes 2016-03-18 13:55:36 +01:00
jsteemann 9209794f36 removed print 2016-03-17 23:08:00 +01:00
jsteemann 7b5b0de86d fixed test 2016-03-17 23:06:57 +01:00
Jan Steemann ba637faea0 do not compare execution times 2016-03-07 11:33:20 +01:00
Jan Steemann af367a3e13 fixed range optimizations 2016-02-24 17:43:17 +01:00
Jan Steemann bc6283fc91 added WITH collections declarative 2016-02-19 18:20:46 +01:00
Michael Hackstein 7388345f87 Fixed JSLINT 2016-02-16 15:18:40 +01:00
Michael Hackstein a3cd1aa54e Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-15 10:25:31 +01:00
Jan Steemann 797fff14c2 fixed issue #1722 2016-02-12 09:45:32 +01:00
Jan Steemann f59cda9151 jslint 2016-02-11 09:18:45 +01:00
jsteemann bee34da616 make replace-or-with-in rule fire in more cases 2016-02-10 23:07:24 +01:00
Jan Steemann 85315ce9db added quantifiers test 2016-02-10 15:20:41 +01:00
Jan Steemann 0f0154bb54 added test for condition collapsing 2016-02-10 14:30:40 +01:00
Jan Steemann 5ba2432d78 remove sort in more cases 2016-02-10 11:23:11 +01:00
jsteemann a5c23fe0fe fix parsing forward ticks, fix line numbers in some error messages 2016-02-06 12:32:14 +01:00
Michael Hackstein 84b1f9055d Further implementation of VPackAqlValue functions. This included VALUES and ATTRIBUTES. These functions by accident had an ordering in TRI_json_t which they do not have any more in VelocyPack. Clarified Documentation. 2016-02-04 13:49:59 +01:00
Michael Hackstein 0c11b2f759 Use precision to validate numeric result in ABS 2016-02-03 14:51:46 +01:00
Michael Hackstein 92c69d2039 Implemented To_Array for VPack 2016-02-02 15:37:05 +01:00
Michael Hackstein f4eae755d6 Moved more tests in aql-operators. 2016-02-02 13:52:10 +01:00
Michael Hackstein 964fbdaabd Started moving tests in aql-operators to use AQL instead of directly using the JS-AQL module. Now they also cover Cxx implementation and AQL parser 2016-02-02 13:28:21 +01:00
Andreas Streichardt 8928806a21 Fix lint 2016-01-29 13:02:42 +01:00
Michael Hackstein 651e705ebd Introduced a new EMPTY_GRAPH error which is thrown during AQL execitions whenever the graph has no edge collections. 2016-01-28 18:07:26 +01:00
Michael Hackstein 847463f968 Fixed JSLintQ 2016-01-28 17:29:29 +01:00
Michael Hackstein c04e4f1ca7 Added a test for Multi Direction traversals 2016-01-28 16:40:58 +01:00
Wilfried Goesgens 8a00e2f89a fix lint. 2016-01-27 19:33:16 +01:00
Jan Steemann 2b57652880 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-27 19:29:13 +01:00
Jan Steemann de52abbf83 added AQL function `IS_SAME_COLLECTION` 2016-01-27 19:29:01 +01:00
Wilfried Goesgens e1a8726606 Don't optimize the traverser if there are functions on the traversal attribute side; this fixes #1684 2016-01-27 19:21:17 +01:00
Jan Steemann b6e9cee7e2 fixed tests 2016-01-26 16:44:07 +01:00
Andreas Streichardt a9b7c0ed83 Add stresstest to devel 2016-01-25 11:46:04 +01:00
Frank Celler c2a3f90fde moved tests into sub-directories 2016-01-24 12:21:04 +01:00