1
0
Fork 0
Commit Graph

316 Commits

Author SHA1 Message Date
Wilfried Goesgens fc96de0f9e fix index handling 2019-10-01 16:22:02 +02:00
Wilfried Goesgens c15083b77c remove unused variable as spotted by @danielhlarkin 2019-10-01 15:50:28 +02:00
Wilfried Goesgens d96622688f as sugested by @danielhlarkin - make state of idx more clear, add missing drop 2019-10-01 15:45:07 +02:00
Wilfried Goesgens 3660f374e6
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:38:34 +02:00
Wilfried Goesgens 93758cec89
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:38:24 +02:00
Wilfried Goesgens ef2fdff083
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:38:04 +02:00
Wilfried Goesgens 5a5a438814
Update tests/js/server/aql/aql-optimizer-indexes-multi.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:37:56 +02:00
Wilfried Goesgens 0bd24e9247
Update tests/js/server/aql/aql-optimizer-indexes-multi.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:37:50 +02:00
Wilfried Goesgens 750411e632
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:37:41 +02:00
Wilfried Goesgens dcd79d0ee4
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:37:05 +02:00
Wilfried Goesgens d124fc12d1
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:36:56 +02:00
Wilfried Goesgens fd8d0eb9d2
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:36:34 +02:00
Wilfried Goesgens d1b00a7fd6
Update tests/js/server/aql/aql-gather-block-cluster.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:36:19 +02:00
Wilfried Goesgens d53c5b165e Bulk 2019-10-01 11:19:55 +02:00
Wilfried Goesgens c2da801604 use bulk 2019-09-30 18:28:47 +02:00
Wilfried Goesgens db03c54f6c use setupAll 2019-09-30 17:13:41 +02:00
Wilfried Goesgens 0138d6abbb use bulk inserts 2019-09-30 16:49:14 +02:00
Wilfried Goesgens 511de338b0 lint 2019-09-30 16:49:01 +02:00
Wilfried Goesgens c880d66f8b add new collection that tests may modify, use bulk inserts, setupall 2019-09-30 16:48:44 +02:00
Wilfried Goesgens 831be7e906 setUpAll, bulk 2019-09-30 15:30:07 +02:00
Wilfried Goesgens f7d25e4fcd setupall, bulk, automated index deletion 2019-09-30 15:24:43 +02:00
Wilfried Goesgens 9dab8b351b bulk, setUpAll 2019-09-30 15:13:41 +02:00
Wilfried Goesgens a63e0c4d5b Make tests fit for setupAll, split out those that want to modify the data; use bulk operations where possible. 2019-09-30 15:08:38 +02:00
Wilfried Goesgens 0d78dbdb31 Make tests fit for setupAll, split out those that want to modify the data. 2019-09-30 15:07:57 +02:00
Wilfried Goesgens 078a0cec15 fix index handling of test 2019-09-30 13:53:38 +02:00
Wilfried Goesgens 71d5012e19 Merge branch 'bug-fix/reduce-aql-test-time' of github.com:arangodb/ArangoDB into bug-fix/speedup-tests 2019-09-30 10:23:24 +02:00
Wilfried Goesgens da1d32e65c fix tests, more bulk less setup/teardown 2019-09-30 10:13:01 +02:00
jsteemann 2fe3421f77 use setUpAll and tearDownAll to reduce test durations 2019-09-29 11:19:15 +02:00
Wilfried Goesgens c8398acb53 make sure the collection content is right 2019-09-27 17:43:43 +02:00
Wilfried Goesgens b35373aa64 we need to clear debug flags after each test. 2019-09-27 17:38:14 +02:00
Wilfried Goesgens f980ce5222 lint, more perf 2019-09-27 16:26:34 +02:00
Wilfried Goesgens 6460f56ac3 Merge branch 'devel' of github.com:arangodb/ArangoDB into bug-fix/speedup-tests 2019-09-27 15:57:51 +02:00
Wilfried Goesgens a1e6f94b8b improve top-Performers by bulk & setupall if possible 2019-09-27 15:56:51 +02:00
Wilfried Goesgens 1da31d542c use bulk 2019-09-27 12:47:15 +02:00
Tobias Gödderz f120919dfe Implement a constrained sorting gather variety (#10057)
* Added TODO notes

* Pass limit of constrained sort to sorting gather

* Count output rows, and added assertions

* Extracted row-producing code in a reusable way

* Implemented SortingGatherExecutor::skipRows

* Fixed signature

* Fixed an assertion

* Added limit to (de)serialization

* Fixed an assertion

* Fixed an atMost calculation

* In the sort-limit optimization, apply limit to sorting gather as well

* Fixed optimizer rule reporting modification

* Added missing initialization

* Fix: Do not produce more rows than the limit when skipping first

* Fix: pass limit when cloning

* Updated CHANGELOG

* Fixed atMost intricacies
2019-09-27 10:50:06 +02:00
Wilfried Goesgens 273ec55451 use Bulk, Split modifying tests into own suite, setUpAll for the read only ones 2019-09-26 16:07:41 +02:00
Wilfried Goesgens 7cedb32ba7 setUpAll 2019-09-26 16:06:33 +02:00
Wilfried Goesgens 681856cb9d convert to bulk & setupOnce 2019-09-26 15:33:52 +02:00
Jan 9da2cadf83
Bug fix/issue 10078 (#10081) 2019-09-26 12:08:48 +02:00
Markus Pfeiffer 0b9dfb4b9b Subquery Start/End Nodes (#9983)
* Add Start/End subquery node skeleton

* Added a test query that triggers complex interna in the future and needs to proof that our work is side-effect free.

* Add template function to statically assert size of type

* Add Start/End subquery node skeleton

* Add Start/End subquery node creation to ExecutionNode

* Cleanup SubqueryEndNode

* Add test file

* Add isEqualTo to ExecutionNode

* Subquery nodes cleanup

* Update ExecutionNode tests

* Updates to testing code

* More updates

* Add optimizer rule

* Fix optimizer rule

* Fix optimizer rule (again)

* Add a public function to get plan from query

* Fix register planning

* Add test for splicing subquery nodes

* add static asserts for sizes of SubqueryStartNode and SubqueryEndNode

* Add comment about statically asserted size

* Fix isEqualTo virtual and override dance.

* Fix isEqualTo, remove static_assert_size

* Remove a TODO; the plan owns the ExecutionNodes

* Only add stealPlan to Query when testing

* Remove another static_assert_size

* Disabled subquery splice rule by default

* temporarily modified test

* Fixed windows compile

* Fixed unused variable warning
2019-09-25 12:35:18 +02:00
Jan 4f2e1d4054
fixed issue #10062: AQL: Could not extract custom attribute (#10068) 2019-09-24 14:36:53 +02:00
jsteemann dd9989a2e8 renamed and fixed a test 2019-09-23 18:17:17 +02:00
Jan Christoph Uhde 0b8c75c7b7 one shard db - devel (#9395) 2019-09-23 15:48:37 +02:00
Tobias Gödderz fbcb4b7152 Avoid overfetch in sorting gather executor (#10047)
* Avoid overfetch in sorting gather executor

* Updated CHANGELOG

* Temporarily disabled sort-limit in cluster when fullCount is enabled, until we can fix SortingGather

* Added a cluster test for sort-limit

* Fixed non-maintainer compile

* Fixed jslint errors

* Disabled sort profiler tests until SortingGather is fixed
2019-09-20 17:00:18 +02:00
Tobias Gödderz 2f59a79435 Bug fix/sort limit rule too lax (#10014)
* Added regression test for consecutive constrained sorts

* Bugfix: sort-limit rule skipped too many node types

* Added CHANGELOG entry

* Apply sort-limit rule before single document operations
2019-09-18 09:04:43 +02:00
Dan Larkin-York 8c573549b3 Make truncate use non-blocking communication. (#9980) 2019-09-16 10:46:49 +02:00
Tobias Gödderz a97000cd04 Additional sort-limit tests (#10010) 2019-09-13 15:18:01 +02:00
KVS85 554ca3874e
Fix jslint 2019-09-12 22:25:15 +03:00
Tobias Gödderz e113e36138 Make AQL's constrained heap play nice with fullCount (#9981) 2019-09-12 18:56:59 +02:00
KVS85 c892fe05b4 Add more stability to moving-shards-cluster.js 2019-09-12 18:23:44 +02:00