Dan Larkin-York
2bd9887407
[3.3] Fix condition finders moving filters past modifications into index nodes ( #6328 )
2018-09-04 17:05:53 +02:00
Jan
d094ace175
added traversal test ( #4375 )
2018-01-23 09:08:58 +01:00
jsteemann
e0b3917380
fix failing test on MSVC
2017-12-07 16:25:31 +01:00
Michael Hackstein
f986a5f06c
Improved the cost estimation of traversals to be independent from max search depth. This fixes #3917 ( #3944 )
...
LGTM
2017-12-07 10:05:35 +01:00
Jan
c569c1b816
fix test ( #3524 )
2017-10-26 14:04:41 +02:00
Jan
9a4703dbde
changed test expectations in cluster mode ( #3491 )
2017-10-25 18:05:37 +02:00
Wilfried Goesgens
2833bd6185
Bugfix/cleanup graphs ( #3250 )
...
* when running against an external server also setup the proper connection
* cleanup grahs after testing
2017-09-15 14:20:21 +02:00
mchacki
0b4374ead5
Fixed invalid optimisation for variables/references used in traversal
2017-08-09 17:01:18 +02:00
Michael Hackstein
a885da6190
Added more test cases for associative filter conditions
2017-08-05 10:35:23 -06:00
Michael Hackstein
48bbc667f7
Added tests for optimization of mindepth.
2017-08-04 17:59:30 -05:00
mchacki
dd13944264
Added some test cases where filter optimization in Traverser could have yield wrong results.
2017-07-15 17:49:00 +02:00
Kaveh Vahedipour
774ebae638
missing assertTrue entry in global
2017-07-11 16:02:02 +02:00
Michael Hackstein
2cd48e614b
Feature/optimizer rule remove filter covered by traversal ( #2731 )
...
* Added a first test for remove-filter-covered-by-traverser rule.
* initial try at adding the functions
* Initial try at fixing all cases
* Fixing optimizer rule order
* Changing rule
* excluding quantifier ANY
* Fixing assertion error
* quick fix for some failed traverser cases
* Fixing quantifier related tests
* Adding upper limit for scannedIndex in cluster
* Fixing the mmfiles asserts
* Allow the coordinator to do condition checking on edges again. Used in enterprise.
* Fix naming of optimizer rules (#2739 )
2017-07-10 10:15:17 +02:00
Frank Celler
6b47544611
Revert "Feature/optimizer rule remove filter covered by traversal" ( #2724 )
...
* Revert "Feature/authorization query cache (#2720 )"
This reverts commit 83712b7b4a
.
* Revert "properly return index in case of unique constraint violation (#2716 )"
This reverts commit c3f346e0a5
.
* Revert "fix https://github.com/arangodb/planning/issues/388 (#2714 )"
This reverts commit 1d944b97a4
.
* Revert "fix typo (#2718 )"
This reverts commit 61a80ed697
.
* Revert "Feature/optimizer rule remove filter covered by traversal (#2676 )"
This reverts commit c54b81fb69
.
2017-07-04 11:13:36 +02:00
Simon Grätzer
c54b81fb69
Feature/optimizer rule remove filter covered by traversal ( #2676 )
2017-07-03 18:39:32 +02:00
Michael Hackstein
6901a9b53f
Fixed a misplaced edge filter It checked for a condition on the wrong depth.
2017-06-29 17:03:05 +02:00
Jan Christoph Uhde
de3f209334
update unittests
2017-06-27 12:30:47 +02:00
Simon Grätzer
52fa4f450a
Bugfix for cluster bug ( #2649 )
2017-06-22 17:34:01 +02:00
Jan
c77a6fd738
fix one more limit issue in traversal ( #2634 )
2017-06-22 12:32:47 +02:00
Jan
f38ba7c84d
fix invalid results (too many) when a skipping LIMIT was used for a traversal ( #2603 )
...
`LIMIT x` or `LIMIT 0, x` were not affected, but `LIMIT s, x` may have returned too many results
2017-06-19 17:34:47 +02:00
Michael Hackstein
ce9812d8fa
Added proper sorting in test code. Not deterministic otherwise
2017-06-02 09:33:30 +02:00
Michael Hackstein
52406567cd
Replaced EdgeCursors callback to return cid,rev instead of _id. Does less costly copying and comparision internally
2017-05-31 17:49:46 +02:00
Michael Hackstein
54c857ed74
Adapted statistics in tests for SinlgeServer Traversal.
2017-04-24 13:22:42 +02:00
Michael Hackstein
851f772dc1
Fixed some counting/reporting for AQL statistics in Traverser.
2017-04-24 10:42:40 +02:00
jsteemann
691dac7a73
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-21 12:35:07 +02:00
Michael Hackstein
e3beaaa8fc
Added a test + fix for a Stackoverflow issue in Traversals and ShortestPath in AQL. This occured in the case where there are a lot of starting vertices in a row that do not have any paths attached to them. Fixes : #2445
2017-04-21 11:31:30 +02:00
Simon Grätzer
01e27b803f
Starting AQL tests
2017-04-18 15:14:35 +02:00
Michael Hackstein
57fbf418f0
Fixed scannedIndex values in traverser tests. It did not report the correct number of lookups required after modification for new Storage-Engine
2017-04-18 10:40:35 +02:00
jsteemann
ed3a230939
some final cleanup
2017-02-21 13:04:24 +01:00
jsteemann
7abf112d8c
fixed cluster test
2017-01-13 09:52:06 +01:00
jsteemann
feb954ca45
issue #2256
2017-01-12 12:20:11 +01:00
Michael Hackstein
dd0dca8a8d
This actually fixes the last commit...
2016-12-06 13:45:55 +01:00
Michael Hackstein
06e66754bb
Fixed cluster version of Optimize non-edge index tests. It is deactivated now, the cluster decides differently on the indexes.
2016-12-06 13:33:23 +01:00
Michael Hackstein
4331af37f9
Added a test for Skiplists and traversals, if the condition cannot cover _from resp _to inside the index.
2016-11-29 10:27:08 +01:00
Frank Celler
7e46422cbf
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-28 17:32:57 +01:00
Frank Celler
4b1b6a2e7f
Added test for Traverser using indexes not containing _from or _to
2016-11-28 17:32:04 +01:00
jsteemann
ecaf2fd16b
when querying edge index selectivity, pass attribute name (i.e. _from, _to) so the selectivity of the correct index part can be returned
2016-11-11 11:01:04 +01:00
jsteemann
0b7d73bf3b
add setUpAll, tearDownAll
2016-09-23 12:08:39 +02:00
Jan Steemann
f0e14cff7d
changed behavior of array comparison operators for empty arrays
2016-09-21 11:01:59 +02:00
Michael Hackstein
d01c7ca32b
Disabled {uniqueEdges: 'global'} and {uniqueVertices: 'global', bfs: false} in Pattern Matching query as their result is entirely non deterministic.
2016-09-19 13:28:43 +02:00
Michael Hackstein
c6cd5574b1
Removed a graph optimization which increased the minDepth if a filter is defined on a higher depth. Under some circumstances this filter can be matched if the path is not long enough.
2016-09-14 10:23:34 +02:00
jsteemann
50ff529244
jslint
2016-09-08 17:34:59 +02:00
Michael Hackstein
adec2b1c50
Fixed traverser test. Which has two possible results
2016-09-08 17:07:12 +02:00
Michael Hackstein
7a2a0ddc0e
Fixed another statistic test in graph traverser.
2016-09-07 15:27:05 +02:00
Michael Hackstein
446e5dddfc
Fixed graph traversal tests in cluster. They use a different index than local server and hence reporting is different.
2016-09-07 14:50:40 +02:00
jsteemann
528ebdf573
slightly prefer primary index
2016-09-07 11:42:13 +02:00
Michael Hackstein
374e657ae7
Fixed final cluster traverser statistic test
2016-08-11 11:22:05 +02:00
Michael Hackstein
9e22f3f902
Fixed an undefined behaviour bug and a cluster statistic for Traverser.
2016-08-10 18:06:49 +02:00
Michael Hackstein
418ed17efe
Fixed Statistics-tests for graphs. We filter and scan less now if the conditions would only work on longer paths
2016-08-10 17:50:35 +02:00
Michael Hackstein
3a95244599
Fixed ALL== and NONE== tests for graph traversals. SingleServer and cluster
2016-08-10 17:10:25 +02:00