Jan Steemann
ce31550a9f
fix variable naming in COLLECT INTO results in case the COLLECT is placed in a subquery which itself is followed by other constructs that require variables
2015-06-19 13:00:49 +02:00
Jan Steemann
67082b15fd
moved AQL TO_* functions to CXX
2015-06-18 21:30:13 +02:00
Willi Goesgens
9c7d49a666
Merge branch 'v8_4.2' of github.com:arangodb/arangodb into devel
2015-06-18 10:34:08 +02:00
Jan Steemann
affd2d3d7b
removed deprecated AQL function `SKIPLIST`
2015-06-17 20:44:44 +02:00
Alan Plum
a4af1dc2e2
sessionStorageApp -> sessionStorage
2015-06-17 18:59:03 +02:00
Jan Steemann
7cd27d5c56
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification
2015-06-16 15:14:18 +02:00
Jan Steemann
d6f3436cc9
added tests
2015-06-16 15:13:53 +02:00
Michael Hackstein
933e4c353a
Added further OOM tests for ShortestPath computation
2015-06-16 11:27:21 +02:00
Michael Hackstein
7f8be74c09
Added a test for OOM in Ditches for Neighbors. Added a test for missing vocbase in ExampleMatcher
2015-06-16 10:46:33 +02:00
Jan Steemann
3e99e76b4f
fixed range access
2015-06-13 02:27:17 +02:00
Jan Steemann
c5d099a1c5
fixed array range accesses
2015-06-12 23:45:08 +02:00
Michael Hackstein
4f29e51798
Merge branch 'devel' of github.com:/arangodb/arangodb into devel
2015-06-12 18:31:24 +02:00
Jan Steemann
1174cfd05c
added tests
2015-06-12 18:29:54 +02:00
Jan Steemann
db25013b10
added test cases
2015-06-12 17:54:45 +02:00
Jan Steemann
3d5ec4d906
speedup for V8-based AQL functions with huge literal array/object parameters
2015-06-12 15:40:08 +02:00
Michael Hackstein
72503ea332
Introduced stopAtFirstMatch in GRAPH_SHORTEST_PATH to find the shortest path from a startVertex to a targetVertex that is defined by a pattern.
2015-06-12 15:09:03 +02:00
Jan Steemann
1a18fb0282
factor out huge array/object literals when calling V8-based AQL functions
2015-06-12 11:50:22 +02:00
Jan Steemann
a6b2998b5d
added try...catch blocks for V8-to-CPP bindings
2015-06-08 16:04:42 +02:00
Alan Plum
ba4e8166ce
Oops.
2015-06-04 01:17:54 +02:00
Alan Plum
f61671ded5
Fixed validation error detection.
2015-06-04 00:58:38 +02:00
Jan Steemann
a2d99b55ec
cxxified more functions
2015-06-02 15:15:45 +02:00
Alan Plum
b94369c4bc
Fixed model-events test.
2015-06-02 14:41:14 +02:00
Alan Plum
83d843d1db
Fixed repository-events test.
2015-06-02 14:41:14 +02:00
Alan Plum
e4aa4687b8
Fixed repository spec.
2015-06-02 14:06:13 +02:00
Michael Hackstein
99afc6ec87
CXX ExampleMatcher learned about internal attributes. This makes all AQL-Graph tests pass again ;)
2015-05-30 00:00:49 -07:00
Jan Steemann
59ce0b7ad9
test option `--create-database`
2015-05-29 14:37:47 +02:00
Michael Hackstein
117a81b4e2
Further attempt to fix Graph features
2015-05-28 23:47:33 -07:00
Michael Hackstein
849bf9d6cf
Fixes in basic SHORTEST_PATH function s.t. the cluster will not crash and uses the JS fallback. But gets the new return format
2015-05-28 23:11:27 -07:00
Michael Hackstein
777928de05
Fixed GRAPH_EDGES and their tests.
2015-05-28 17:31:51 -07:00
Michael Hackstein
6a7dae216d
Merge branch 'devel' of github.com:/arangodb/arangodb into devel
2015-05-28 15:18:32 -07:00
Michael Hackstein
4dbf8b454d
Fixed all GRAPH_NEIGHBOR tests for new format. GRAPH_EDGES still failing. CPP MATCHER still not able to match internal attributes
2015-05-28 15:18:24 -07:00
Jan Steemann
64ae7adb93
issue #1341 : Can't use bindvars in UPSERT
2015-05-28 14:28:23 +02:00
Michael Hackstein
0b0a9b81fb
Adopted server side unit tests to new return format of graphs. However some still fail because ExampleMatcher is not able to match internal attributes yet
2015-05-27 13:41:20 -07:00
Michael Hackstein
9a5ee272fe
Fixed several graph tests to use the new return format. Neighbors and ShortestPath are having different return formats now. Still WIP
2015-05-26 16:15:12 -07:00
Willi Goesgens
f5b3a1c35b
Ignore testDropDatabaseDirectory for windows; its randomly buggy there.
2015-05-26 16:53:23 +02:00
Michael Hackstein
b0723dbb75
Added test for includeData in Neighbors
2015-05-25 11:54:07 -07:00
Michael Hackstein
0b8e9eb59c
Fixed minor inconsistency in AQL NEIGHBORS and adapted tests to the new version. It will now Return the list of vertices. not the pair<edge, vertex> any more
2015-05-22 15:30:24 -07:00
Michael Hackstein
e1813327b5
Adapted existing shortest path tests to new version. Breaking API Change. Has to be documented.
2015-05-22 11:56:46 -07:00
Jan Steemann
3033846791
catch exception when filling indexes
2015-05-22 09:29:56 +02:00
Jan Steemann
4522d8ab33
fixed wrong index usage, added tests
2015-05-21 18:29:43 +02:00
Willi Goesgens
8e858bc96d
Upgrade V8 to 4.2.77
...
- v8 now requires llvm libstdc++ inline
- ForceDelete is gone now; employ new tactics of working with wrapping shaped json
- gold crashes while linking V8, remove it.
2015-05-20 15:10:28 +02:00
Willi Goesgens
74cce6062b
Add possibility for ARM to not execute the tests that don't work on limited hardware.
2015-05-19 10:53:25 +02:00
Willi Goesgens
6796ba239c
set logging to debug while running the directory removal unittests.
2015-05-13 10:40:19 +02:00
Willi Goesgens
58279e2dd1
Shoot me again I ain't dead yet.
2015-05-13 10:23:48 +02:00
Willi Goesgens
414b8672c2
Another test which now can use the index instead of direct access.
2015-05-11 18:20:44 +02:00
Jan Steemann
beb45ad8f8
use indexes when referring to an attribute name via bind parameter
2015-05-08 12:39:55 +02:00
Alan Plum
9e9441c352
Fixed failing shell-routing test.
2015-05-07 11:44:42 +02:00
Jan Steemann
0996d603c6
fulltext improvements
2015-05-06 14:21:32 +02:00
Jan Steemann
4a8146ed02
fixed some potential leaks
2015-05-05 00:33:12 +02:00
Jan Steemann
beb2506bec
add subquery tests
2015-04-29 11:32:14 +02:00
Jan Steemann
bb3316bf5b
issue #1322 : strange AQL result
...
This fixes a problem with unique skiplist indexes declared on multiple attributes
that were queried with an equality condition on only a prefix (e.g. a single
attribute only)
2015-04-28 09:41:03 +02:00
Jan Steemann
717df15a9c
cxxified more AQL functions
2015-04-27 22:12:11 +02:00
Jan Steemann
40ed49ebfa
fast path for MERGE()
2015-04-23 13:45:31 +02:00
Jan Steemann
1283d43608
simplification for comments parsing
2015-04-22 14:17:18 +02:00
Jan Steemann
224b33cc75
moved UNSET() and KEEP() to cxx implementation
2015-04-22 13:21:05 +02:00
Jan Steemann
d10e79c500
updated documentation
2015-04-21 16:08:22 +02:00
Jan Steemann
90610ccb3c
fixed typos in tests
2015-04-21 14:45:36 +02:00
Jan Steemann
974b656c1b
allow overriding COLLECT method
2015-04-21 14:45:22 +02:00
Jan Steemann
61499432b7
do not remove constant sorts when creating plans, but during optimization phase
...
less utf8 comparisons
2015-04-20 11:32:29 +02:00
Jan Steemann
d9add3a493
fixed collect in cluster
2015-04-16 21:10:48 +02:00
Jan Steemann
c88109679d
added tests for collect methods
2015-04-16 19:20:23 +02:00
Jan Steemann
d3569d5c77
adjusted failure code names
2015-04-16 00:28:41 +02:00
Jan Steemann
ff6e56d89c
adjusted some tests
2015-04-15 23:45:07 +02:00
Jan Steemann
322b3f9c6d
issue #1231 : bug xor feature in AQL: LENGTH(null) == 4
...
This changes the behavior of the AQL `LENGTH` function as follows:
- if the single argument to `LENGTH()` is `null`, then the result will now be `0`. In previous
versions of ArangoDB, the result of `LENGTH(null)` was `4`.
- if the single argument to `LENGTH()` is `true`, then the result will now be `1`. In previous
versions of ArangoDB, the result of `LENGTH(true)` was `4`.
- if the single argument to `LENGTH()` is `false`, then the result will now be `0`. In previous
versions of ArangoDB, the result of `LENGTH(false)` was `5`.
The results of `LENGTH()` with string, numeric, array object argument values do not change.
2015-04-14 19:03:29 +02:00
Max Neunhoeffer
f34a009885
Do not execute a time critical test on cluster tests.
2015-04-14 09:06:47 +02:00
Jan Steemann
d7e4c6fd4c
fixed test that failed in cluster
...
Conflicts:
js/server/tests/shell-foxx-model.js
2015-04-13 15:33:29 +02:00
Alan Plum
69e63c2c64
Strict mode all the things.
2015-04-09 00:22:05 +02:00
Alan Plum
ecbc6f581f
Merge pull request #1287 from arangodb/vulpine-grace
...
Foxx improvements (fixes #1284 , #1257 )
2015-04-08 03:23:55 +02:00
Michael Hackstein
3c79b54330
Merge branch 'devel' of github.com:arangodb/arangodb into gos
2015-04-01 13:38:29 +02:00
Michael Hackstein
e2fd4cdd65
Further improvements of graph queries. All queries should now be noticably faster.
2015-04-01 13:25:25 +02:00
Jan Steemann
e672d791b5
refactored cursor API, added export API
2015-03-30 18:03:42 +02:00
Jan Steemann
3057cf7a74
added edge index iterator
...
Conflicts:
arangod/Aql/ExecutionBlock.h
2015-03-27 17:24:47 +01:00
Jan Steemann
50b531666c
optimization for AQL CONCAT()
...
Conflicts:
arangod/Aql/AqlValue.cpp
arangod/Aql/AqlValue.h
arangod/Aql/Ast.cpp
2015-03-27 17:18:27 +01:00
Jan Steemann
7eb28dc201
fixed cluster test
2015-03-26 12:23:14 +01:00
Alan Plum
fbd3a411f2
Make sure WAL is flushed so we get ShapedJson back.
2015-03-25 19:04:20 +01:00
Jan Steemann
9703f04621
fixed wrong return value
2015-03-25 13:03:49 +01:00
Jan Steemann
2f58e4ea61
small cleanup
2015-03-25 12:42:44 +01:00
Alan Plum
0620369a05
Saner schema handling for Foxx models. Fixes #1284 .
2015-03-25 10:35:18 +01:00
Jan Steemann
a26c7c7f28
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-25 08:57:33 +01:00
Alan Plum
3802085415
Fixed tests.
2015-03-24 21:41:21 +01:00
Alan Plum
202fbdb018
Even more exhaustive tests.
2015-03-24 21:38:27 +01:00
Alan Plum
3a957292fc
Make sure _PRINT is gone entirely.
2015-03-24 21:29:42 +01:00
Alan Plum
e8834a350a
Fixed #1289 .
2015-03-24 21:06:28 +01:00
Jan Steemann
59053df10a
issue #1285 : allow bind parameter names starting with underscores
2015-03-24 18:43:53 +01:00
Jan Steemann
0ceff3f1b0
added cluster tests
2015-03-24 18:28:55 +01:00
Jan Steemann
7318d6754f
added join test for cluster
2015-03-24 16:26:09 +01:00
Jan Steemann
01745402f3
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-24 14:34:20 +01:00
Alan Plum
d1a37cdc17
Fixed failing tests.
2015-03-24 13:33:42 +01:00
Jan Steemann
16348cd10c
added tests
2015-03-24 11:11:55 +01:00
Jan Steemann
66e2273482
added documentation for UPSERT
2015-03-24 00:44:52 +01:00
Jan Steemann
7d5cc17d98
added tests
2015-03-23 22:28:26 +01:00
Jan Steemann
8e48f98045
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
...
Conflicts:
arangod/Aql/Collection.cpp
arangod/Aql/ExecutionBlock.cpp
2015-03-20 21:54:39 +01:00
Jan Steemann
e33517adf9
fixed jslint warning
2015-03-20 12:07:36 +01:00
Jan Steemann
a1c348e7c6
added more tests for out-of-memory situations
2015-03-20 11:52:55 +01:00
Jan Steemann
1298bd40a8
added tests for out-of-memory situations
2015-03-20 08:54:15 +01:00
Jan Steemann
50c4682655
added more tests
2015-03-19 18:21:00 +01:00
Jan Steemann
cf845bbe5e
added test
2015-03-19 16:27:48 +01:00
Jan Steemann
7dc3fc3d5c
safely create collections and databases
2015-03-19 15:56:12 +01:00
Jan Steemann
bc592612d7
fixed jslint warnings
2015-03-18 17:58:28 +01:00
Jan Steemann
a062280783
added test for empty datafiles
2015-03-18 17:37:28 +01:00
Jan Steemann
6b24da1036
in the middle of refactoring
2015-03-17 09:08:25 +01:00
Jan Steemann
34e101725f
fixed assertion
2015-03-16 17:28:54 +01:00
Michael Hackstein
bd2dde17da
Fixed unittest for foxx. It still compated a generated token with the name of the parameter
2015-03-16 10:37:35 +01:00
Michael Hackstein
0dc6be351c
Fixed tests for non overwriting version of swagger documentation
2015-03-13 14:16:11 +01:00
Jan Steemann
ce0a543d25
added flag for disabling query tracking `--database.disable-query-tracking`
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
Conflicts:
Documentation/Books/Users/ConfigureArango/Arangod.mdpp
arangod/RestServer/ArangoServer.cpp
2015-03-13 13:51:23 +01:00
Jan Steemann
29611a511f
issue #1241 : added configure option `allowNull` for visitor
2015-03-12 16:28:52 +01:00
Jan Steemann
a185409de0
fixed warning
2015-03-11 12:55:47 +01:00
Jan Steemann
c4f17bb244
issue #1265 : arangod crashed with SIGSEGV
2015-03-11 12:19:34 +01:00
Jan Steemann
37bb6d6732
issue #1241 : fixed passing `data` attribute into GRAPH_NEIGHBORS() function
2015-03-11 10:22:27 +01:00
Willi Goesgens
a6e736dedc
Relax the timeout for the db to be gone and give the garbage collection more time in one run.
2015-03-06 09:37:19 +01:00
Willi Goesgens
80cc3a7c3e
Add stacktrace from the exception to the output; the jasmine provided stacktrace is pretty useless here.
2015-03-02 14:55:08 +01:00
Michael Hackstein
9dc27fa7db
Fixed test to install Apps from Store. sessionapp requires oauth2 to be installed at a special location
2015-02-25 10:26:53 +01:00
Michael Hackstein
df046a8091
added tests for foxx-controller extensions
...
Conflicts:
js/server/tests/shell-foxx.js
2015-02-24 17:37:05 +01:00
Frank Celler
4f8ea3a208
Merge remote-tracking branch 'origin/2.5' into devel
...
Conflicts:
CHANGELOG
arangod/RestServer/arangod.cpp
js/apps/system/_admin/aardvark/APP/package.json
2015-02-24 16:10:11 +01:00
Jan Steemann
6ce1f2892e
install fix for Foxx apps
2015-02-24 13:51:41 +01:00
Willi Goesgens
f80a48dbdd
Be more forgivingly about the time required to unload collections.
2015-02-24 11:27:59 +01:00
Willi Goesgens
4eb993a794
Be more forgivingly about the time required to unload collections.
2015-02-23 14:44:31 +01:00
Jan Steemann
2ac736b36e
added visitor test
...
Conflicts:
js/server/tests/aql-graph-visitors.js
2015-02-20 15:48:18 +01:00
Jan Steemann
ac638e1872
fixed tests
2015-02-18 16:40:48 +01:00
Jan Steemann
83ea75fa8f
removed unused config options
2015-02-18 16:40:15 +01:00
Michael Hackstein
0c78629199
Merge branch 'foxx-pathes' of github.com:arangodb/arangodb into devel
2015-02-16 14:17:52 +01:00
Michael Hackstein
ab5fbb66e0
Fixed server side foxx tests. They had to be adapted to new routing info computation
2015-02-16 14:13:10 +01:00
Michael Hackstein
808d658ff8
JSLint fixes
2015-02-16 14:12:34 +01:00
Jan Steemann
205736a028
added optimizer rule "propagate-constant-attributes"
2015-02-15 13:29:53 +01:00
Jan Steemann
db2cd7acc9
added `filtered` attribute to AQL execution statistics
2015-02-13 21:37:49 +01:00
Michael Hackstein
5b3fae42aa
Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
...
Conflicts:
js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/errors.js
js/common/bootstrap/errors.js
lib/Basics/voc-errors.cpp
lib/Basics/voc-errors.h
2015-02-13 10:20:36 +01:00
Michael Hackstein
8dd9a1180a
Documentation fix
2015-02-12 11:03:30 +01:00
Michael Hackstein
da143793bb
Added a test for foxx manager trying to install ALL apps in the appstore. Is not included in general test suite as it takes a while.
2015-02-12 11:01:51 +01:00
Jan Steemann
c7d7d97203
added sort test
2015-02-11 21:40:54 +01:00
Jan Steemann
1701be206f
more sparse tests
2015-02-11 21:21:14 +01:00
Jan Steemann
33a4d2c4dc
added tests
2015-02-11 19:34:00 +01:00
Jan Steemann
1f9b4ba5e6
added tests for sparse indexes
2015-02-11 18:58:41 +01:00
Jan Steemann
0e4f45f905
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
2015-02-11 18:47:47 +01:00
Willi Goesgens
3041b23408
Adjust the test to the new etcd.
2015-02-11 18:18:17 +01:00
Jan Steemann
6fe3362cf2
fixed cluster tests
2015-02-11 12:38:39 +01:00
Jan Steemann
f7210e3604
sparse index tests
2015-02-11 00:25:30 +01:00
Jan Steemann
a0309c44e2
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
...
Conflicts:
.travis.yml
2015-02-09 20:32:18 +01:00
Michael Hackstein
aad7e46f10
Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
...
Conflicts:
Documentation/Books/Users/SUMMARY.md
js/actions/api-system.js
js/common/bootstrap/modules.js
js/server/modules/org/arangodb/foxx/manager.js
js/server/tests/shell-routing.js
2015-02-06 17:22:01 +01:00
Willi Goesgens
28c828762c
Merge branch 'devel' of github.com:arangodb/arangodb into devel
...
Conflicts:
js/server/tests/shell-foxx.js
2015-02-05 19:34:32 +01:00
Willi Goesgens
59892c2b20
Lintify unittests.
2015-02-05 19:32:51 +01:00
Alan Plum
4741b8707c
Removed obsolete tests for legacy foxx behaviour.
2015-02-05 18:48:45 +01:00
Willi Goesgens
ed80dd575d
Lintify.
2015-02-05 13:36:17 +01:00
Jan Steemann
e84a5e8eb3
use indexes for sorting in more cases
2015-02-05 00:10:12 +01:00
Jan Steemann
5d9c0e018e
dynamic attribute names in AQL
2015-02-03 22:51:40 +01:00
Jan Steemann
ca9feb5cf4
added test cases
2015-02-03 21:50:54 +01:00
Alan Plum
a36c96060a
Fixed stack parsing.
2015-02-03 11:34:26 +01:00
Alan Plum
9fb8ad3338
Re-enable console.time test.
2015-02-03 10:51:58 +01:00
Jan Steemann
c18ff7f300
use-index-for-sort rule can now remove sorts in more cases
2015-02-02 22:53:25 +01:00
Jan Steemann
e30ddf0df3
fixed indexing test
2015-02-02 20:33:45 +01:00
Frank Celler
f44c11440d
fixed test
2015-02-02 18:28:45 +01:00
Willi Goesgens
0aaec15c66
Comment out another test which randomly fails.
2015-02-02 14:55:05 +01:00
Willi Goesgens
44cc12fcbb
Comment out test failing in cluster to be fixed soon.
2015-02-02 10:27:31 +01:00
Jan Steemann
5ed9f4b5f0
added test for accessing paths in visitor
2015-01-30 11:11:19 +01:00
Jan Steemann
1264b14053
added test
2015-01-30 10:54:21 +01:00
Jan Steemann
4bb8a894e6
jslint
2015-01-30 10:30:23 +01:00
Jan Steemann
faab43f1b3
tests for visitors
2015-01-30 10:25:31 +01:00
Jan Steemann
e13092168d
added optimizer tests
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-01-29 21:40:43 +01:00
Frank Celler
05b8115abf
Merge pull request #1227 from triAGENS/foxxy-console
...
Foxx console
2015-01-29 17:16:05 +01:00
Alan Plum
48abd07dc8
Tests for the testgod!
2015-01-28 15:32:19 +01:00
Jan Steemann
fa5f340107
added tests for estimations
2015-01-28 11:20:01 +01:00
Jan Steemann
120236dde2
proper test fix attempt
2015-01-27 14:06:02 +01:00
Willi Goesgens
9df8ff387f
Journals tend to be a source for false positives, relax time condition.
2015-01-27 12:28:34 +01:00
Jan Steemann
f9bc1458d3
attempt to make test more deterministic
2015-01-24 14:31:50 +01:00
Jan Steemann
d348f60e59
added AQL optimizer rule "move-calculations-down"
2015-01-22 20:36:38 +01:00
Jan Steemann
87b1f7fde3
enable indexes in even more cases
2015-01-22 17:24:47 +01:00
Jan Steemann
b01bd67814
more tolerable delay
2015-01-22 14:20:35 +01:00
Jan Steemann
1c935b6ab2
added tests for filter order, not optimization etc.
2015-01-22 14:16:58 +01:00
Jan Steemann
6262b044a4
test fix attempt
2015-01-21 09:09:49 +01:00
Jan Steemann
d534a41e21
recovery tests
...
Conflicts:
arangod/Wal/LogfileManager.cpp
Conflicts:
arangod/Wal/LogfileManager.cpp
2015-01-19 18:14:03 +01:00
Jan Steemann
ee51a8ebfd
added more tests for indexes
2015-01-19 11:10:57 +01:00
Jan Steemann
86716e1834
fix subquery optimization
2015-01-19 11:01:32 +01:00
Jan Steemann
63bf4c888a
flush WAL status file after collection to shorten recovery
2015-01-18 21:06:57 +01:00
Jan Steemann
958ae69479
added tests
2015-01-18 15:34:35 +01:00
Jan Steemann
9b66ab3a61
added AQL functions MD5, SHA1, and RANDOM_TOKEN
2015-01-17 22:40:47 +01:00
Jan Steemann
823369c815
disable the use of indexes in certain unsafe situations
2015-01-17 17:45:36 +01:00
Jan Steemann
ba783a4584
allow specifying minLength and maxLengths for PATHS AQL function
2015-01-16 12:34:11 +01:00
Lucas Dohmen
6999a6e3e4
Merge pull request #1204 from triAGENS/foxxy-bodies-of-joi
...
Allow bodyParam to take joi schemas and actually validate data
2015-01-13 13:46:37 +01:00
Jan Steemann
2af987ed66
added tests
2015-01-12 15:25:45 +01:00
Jan Steemann
2cbc278e6c
finally
2015-01-12 14:23:26 +01:00
Jan Steemann
591a92fa0d
jslint
2015-01-12 12:02:05 +01:00
Jan Steemann
d02de8d7e0
more tests
2015-01-12 11:59:19 +01:00
Max Neunhoeffer
207aba0983
Sensible state 2 for aql-modify-cluster.js.
2015-01-12 10:49:32 +01:00
Max Neunhoeffer
3e27c46bf4
Sensible state for aql-modify-cluster.js
2015-01-12 10:49:07 +01:00
Max Neunhoeffer
743d92f466
Use multiple shards in cluster modifying AQL queries.
2015-01-12 10:37:28 +01:00
Jan Steemann
7961be8836
fixed test
2015-01-09 10:39:05 +01:00
Jan Steemann
ba30df4e5c
added test
2015-01-09 00:03:50 +01:00
Jan Steemann
26b51b35b8
added tests
2015-01-08 17:31:40 +01:00
Jan Steemann
f2590881f1
return old or new values in data-modification operations
2015-01-08 16:35:54 +01:00
Willi Goesgens
0fa352b699
comment out curerntly failing test.
2015-01-07 16:32:09 +01:00
Willi Goesgens
e2f206fd2c
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
arangod/Aql/grammar.cpp
2015-01-07 15:50:44 +01:00
Willi Goesgens
f905123802
Implement REMOVE/INSERT/UPDATE/REPLACE return the changed values
2015-01-07 15:48:13 +01:00
Jan Steemann
1e3082aef3
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2015-01-07 15:11:57 +01:00
Jan Steemann
c591357dd3
slightly changed cost estimation for IndexRangeNode
2015-01-07 15:11:42 +01:00
Alan Plum
75cf182de2
Allow RequestContext#bodyParam to take joi schemas and reject invalid data.
2015-01-07 11:21:19 +01:00
Alan Plum
6fde5c96a8
Tests should not use deprecated Foxx features.
2015-01-07 11:02:42 +01:00
Alan Plum
6fad459fcc
Removed Foxx Model legacy tests (non-joi schemas are no longer supported in 2.5+).
2015-01-07 10:52:09 +01:00
Alan Plum
2b569e5db2
Ported legacy Foxx syntax to 2.4+.
2015-01-06 20:37:18 +01:00
Alan Plum
7aee5e56bd
Extract toJSONSchema from Model.
2015-01-06 20:37:10 +01:00
Jan Steemann
971ead19cb
added tests
2015-01-05 09:42:31 +01:00
Jan Steemann
f3b142849f
fixed leaks during reverts
2015-01-03 01:28:23 +01:00
Max Neunhoeffer
af976491b2
Fix tests finally.
2014-12-24 00:26:20 +01:00
Max Neunhoeffer
354825d12d
Fix a test because now more queries use DistributeNode.
2014-12-24 00:19:20 +01:00
Jan Steemann
6d6d67f06f
activated optimizer rule remove-sort-rand
...
fixed tests, updated documentation
2014-12-21 18:50:50 +01:00
Jan Steemann
d92057dd03
the great rename: array => object, list => array
2014-12-18 22:33:23 +01:00
Willi Goesgens
d46b215e30
Expect Indexrangenodes where we now know they will be created.
2014-12-17 14:01:50 +01:00
Willi Goesgens
016c8e477b
Remove debug prints
2014-12-17 13:32:34 +01:00
Willi Goesgens
ed2529efe9
We can now convert EnumerateCollectionNodes to IndexRangeNodes here too.
2014-12-17 13:05:44 +01:00
Willi Goesgens
419e3ece51
Make jslint happy.
2014-12-17 09:22:22 +01:00
Jan Steemann
dd60e53ce3
added more collect special cases
2014-12-16 22:52:33 +01:00
Jan Steemann
571b6b5b02
added tests
2014-12-16 15:25:46 +01:00
Jan Steemann
f35f8d1643
fixed ranges, added tests
2014-12-16 13:54:46 +01:00
Jan Steemann
1c65c042a4
added tests, fixed exception
2014-12-16 00:20:40 +01:00
Jan Steemann
bcdeabd3ab
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-index-or
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2014-12-15 21:53:51 +01:00
James
fd1c68fb4a
more tests for sorting in descending order
2014-12-13 18:03:13 +00:00
James
17ed7fbef4
sorting works, tests updated
2014-12-13 17:47:59 +00:00
James
0dee54ee6f
more bugfixes more tests
2014-12-13 16:05:20 +00:00
James
a7635abe41
fixed some bugs added some tests
2014-12-13 14:51:46 +00:00
Jan Steemann
e4686bcc1b
reverted non-fix
2014-12-13 12:44:24 +01:00
Willi Goesgens
b275c79793
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
js/server/tests/aql-optimizer-rule-remove-filter-covered-by-index.js
2014-12-13 00:20:09 +01:00
Willi Goesgens
f3c13f7c38
Fix unittest.
2014-12-13 00:13:00 +01:00
Jan Steemann
ff2ddd3133
fixed tests
2014-12-12 23:34:28 +01:00
Jan Steemann
44a5db257d
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-12-12 23:02:42 +01:00
Jan Steemann
f4d7a57c19
changed `COLLECT...INTO x COUNT` to `COLLECT...WITH COUNT INTO x`
...
allow executing subqueries without double brackets
jslint
2014-12-12 23:02:24 +01:00
Willi Goesgens
daeb46893f
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-12-12 21:40:35 +01:00
Willi Goesgens
115f226385
Optimizer: Enable removing of filternodes if the index can handle the filter condition.
2014-12-12 21:39:35 +01:00
Jan Steemann
8f6193faa2
added optional COUNT clause for AQL COLLECT
2014-12-12 17:18:04 +01:00
James
7ab57d64ec
Merge branch 'aql-feature-index-or' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
2014-12-09 22:05:57 +00:00
Jan Steemann
22928c1bb5
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-index-or
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
arangod/Aql/OptimizerRules.cpp
2014-12-09 22:45:55 +01:00
James
3ce7164fb6
finally working again, and more tests
2014-12-09 20:15:38 +00:00
Jan Steemann
1fdf74e09e
jslint
2014-12-09 16:44:31 +01:00
Max Neunhoeffer
be421d926f
Add new test for use-index-range rule and no rule explosion.
2014-12-09 15:40:22 +01:00
Jan Steemann
a617dcffc5
added tests
2014-12-09 14:50:28 +01:00
James
afb960f60e
fixed another bug and added a test for it.
2014-12-09 11:19:34 +00:00
James
a4dcf1b9d3
Merge branch 'aql-feature-index-or' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
2014-12-09 10:23:07 +00:00
James
8871612eb8
adding tests for last
2014-12-09 10:22:15 +00:00
Jan Steemann
797b6dbf75
added index tests
2014-12-09 11:01:58 +01:00
James
46fe461ca1
fixed bug and added test for it.
2014-12-09 09:40:40 +00:00
Jan Steemann
399e93c3ff
issue #1155 : allow bind parameter for sort order
...
SORT what @order is now allowed
2014-12-08 13:05:40 +01:00
Jan Steemann
cd17c393ab
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-index-or
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
arangod/Aql/OptimizerRules.cpp
arangod/Aql/grammar.cpp
2014-12-08 12:37:13 +01:00
Jan Steemann
d5ec9ca4bb
jslint
2014-12-08 11:50:14 +01:00
Jan Steemann
63ceb0d1e0
added tests for mergeObjects
2014-12-08 11:33:54 +01:00
James
a4c7c4edcd
tests for index-or and in
2014-12-06 15:27:20 +00:00
James
8698a1da3d
fixing bugs and updating tests
2014-12-06 14:02:50 +00:00
Jan Steemann
8f99e59747
issue #1163 : fullcount was sometimes used for wrong LIMIT node
2014-12-05 19:02:51 +01:00
Jan Steemann
d9a945e33a
include or exclude system collections from replication
2014-12-05 14:58:43 +01:00
Jan Steemann
dd68db2252
fixed precedence of range operator
2014-12-05 11:00:26 +01:00
Jan Steemann
4c43c1bdaf
less plans created by optimizer
2014-12-04 12:49:34 +01:00
Jan Steemann
0975fb8349
jslint
2014-12-04 09:44:41 +01:00
Jan Steemann
7e161b88ce
issue #1131 : added KEEP for `COLLECT...INTO`
2014-12-03 17:44:10 +01:00
Jan Steemann
4f39b9e358
optimize away `INTO` of `COLLECT` if unused
2014-12-03 13:49:03 +01:00
Jan Steemann
4ef82239a3
added optimizer statistics
2014-12-03 11:38:56 +01:00
Jan Steemann
8e2c5176f4
fixed segfault
2014-12-03 10:47:35 +01:00
James
0646a5a98e
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
...
Conflicts:
CHANGELOG
arangod/Aql/ExecutionBlock.cpp
arangod/Aql/OptimizerRules.cpp
arangod/Aql/grammar.cpp
js/server/tests/aql-optimizer-indexes.js
2014-12-02 10:42:04 +00:00
James
fed9e98aca
Merge branch 'master' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
...
Conflicts:
CHANGELOG
arangod/Aql/ExecutionBlock.cpp
arangod/Aql/OptimizerRules.cpp
js/server/tests/aql-optimizer-indexes.js
2014-12-02 10:36:06 +00:00
Jan Steemann
aa37504e09
jslint
2014-11-28 17:55:01 +01:00
Jan Steemann
b6e182fd0f
added tests
2014-11-28 17:53:28 +01:00
Jan Steemann
42e7c64de6
fixed jslint warnings
2014-11-28 17:52:18 +01:00
Jan Steemann
544f7d4ab4
fix optimization of subqueries
...
Conflicts:
CHANGELOG
2014-11-28 17:51:50 +01:00
Jan Steemann
99530f6478
fixed invalid optimization, added test cases
...
Conflicts:
CHANGELOG
2014-11-28 17:50:17 +01:00
Jan Steemann
1f5db121db
renamed function, updated documentation
...
Conflicts:
CHANGELOG
2014-11-28 17:46:29 +01:00
Jan Steemann
5bf621e756
added test case
2014-11-28 17:35:16 +01:00
Jan Steemann
06af1d3af2
added several AQL functions
2014-11-28 17:34:29 +01:00
Jan Steemann
b3d46923f2
jslint
2014-11-27 13:08:09 +01:00
James
40a67f47c7
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
arangod/Aql/OptimizerRules.cpp
2014-11-27 09:25:43 +00:00
Jan Steemann
e7c7f774e0
added tests
2014-11-26 20:24:28 +01:00
Jan Steemann
513ae2b3dd
fixed jslint warnings
2014-11-26 15:24:03 +01:00
Jan Steemann
57aefb988d
fix optimization of subqueries
2014-11-26 15:01:55 +01:00
Jan Steemann
c69fa0b0dc
fixed invalid optimization, added test cases
2014-11-25 23:18:24 +01:00
James
e73a05bb16
adjust further test
2014-11-22 16:07:10 +00:00
James
7f59881c99
fixing test
2014-11-22 16:03:11 +00:00
James
b040a7e544
updating test
2014-11-22 15:52:03 +00:00
Jan Steemann
ed919090ea
renamed function, updated documentation
2014-11-20 14:46:32 +01:00
Jan Steemann
620274047f
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions
...
Conflicts:
CHANGELOG
2014-11-20 14:23:01 +01:00
scottashton
28d7230d47
fixed a test
2014-11-20 11:07:24 +01:00
scottashton
e36aa92f58
fixed a test
2014-11-20 11:06:50 +01:00
Lucas Dohmen
c0a02f9f8a
Merge pull request #1096 from sarhugo/model-events
...
Model events
2014-11-19 09:24:12 +01:00
Jan Steemann
ea6c7a287c
added test case
2014-11-18 11:27:38 +01:00
Jan Steemann
baba563a78
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions
2014-11-18 11:27:06 +01:00
Jan Steemann
f1f13a4284
added several AQL functions
2014-11-18 11:26:42 +01:00
scottashton
8f3779b1eb
added maxIterations param to GRAPH_EDGES and GRAPH_NEIGHBORS
2014-11-18 09:43:31 +01:00
scottashton
8635862224
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-11-18 09:42:26 +01:00
scottashton
40f270f22c
added maxIterations param to GRAPH_EDGES and GRAPH_NEIGHBORS
2014-11-18 09:42:17 +01:00
Jan Steemann
32c1404eec
added tests
2014-11-18 07:02:35 +01:00
Jan Steemann
fc0b63967f
fixed WITHIN_RECTANGLE for cluster
2014-11-18 07:02:08 +01:00
Jan Steemann
336d456beb
issue #1100 : HAS() fails on doc[attribute_name]
2014-11-18 07:01:51 +01:00
Jan Steemann
52b527bbe1
added tests
2014-11-17 13:55:35 +01:00
Jan Steemann
675e2a0d40
fixed WITHIN_RECTANGLE for cluster
2014-11-17 12:32:43 +01:00
Jan Steemann
065a5ecef0
issue #1100 : HAS() fails on doc[attribute_name]
2014-11-17 11:38:57 +01:00
Max Neunhoeffer
257a382684
Fix tests with new estimateCost functions.
2014-11-16 20:12:46 -05:00
Max Neunhoeffer
f4f4193368
Remove a test for cost estimation.
2014-11-15 21:30:17 -05:00
Max Neunhoeffer
57913a5f5a
Fix another test for AQL and new estimates.
2014-11-14 23:13:00 -05:00
Max Neunhoeffer
752b603e5f
Adjust local test (do not test whether cost estimate is zero).
2014-11-14 23:08:42 -05:00
Jan Steemann
ac667d5e5a
added tests
2014-11-14 13:27:33 +01:00
Jan Steemann
71c050d2fa
renamed function
2014-11-14 13:06:44 +01:00
Hugo Sarti
619b8cf810
Before/After events at Repository.remove method
2014-11-13 10:55:53 -03:00
James
f797afe0d5
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-13 08:04:25 +00:00
Hugo Sarti
26451ea7c3
Before/After events at Repository.update method
2014-11-12 16:27:25 -03:00
Hugo Sarti
298f7dea1e
Before/After events at Repository.save method
2014-11-12 16:05:59 -03:00
Jan Steemann
d6c38f39ed
minor test adjustments
2014-11-12 08:50:13 +01:00
Jan Steemann
2d2ad1b4c6
added tests for accessing _from and _to of a non-edge collection
2014-11-12 08:28:24 +01:00
Jan Steemann
8c08a3b24a
make `CONCAT` and `CONCAT_SEPARATOR` more useful
2014-11-12 00:07:03 +01:00
Jan Steemann
435016abcd
added functions `VALUES` and `ASSEMBLE`
2014-11-11 23:07:45 +01:00
Jan Steemann
3ba00ca653
added `SUBSTITUTE` AQL function
2014-11-11 22:35:15 +01:00
Hugo Sarti
54812d1e02
Model as an EventEmitter
2014-11-11 18:22:07 -03:00
Jan Steemann
40ae5728e0
issue #1032 : added `FIND_FIRST` and `FIND_LAST`
2014-11-11 18:05:04 +01:00
Jan Steemann
9ccf7b85f4
issue #1033 : added SPLIT function
2014-11-11 16:35:40 +01:00
Jan Steemann
537ec80dc1
issue #1044 : added LTRIM, RTRIM
2014-11-11 14:58:03 +01:00
Willi Goesgens
d96907d8da
Implement tastks REST api
...
- Implement REST api for tasks
- Implement wrappers in arangosh
- Add API-documentation
- move unittest from server to common
2014-11-11 12:39:09 +01:00
James
ed91b1b1cd
fixing test.
2014-11-11 08:49:16 +00:00
James
3e612acdda
Merge branch 'aql-feature-lazy-index' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-11 08:23:23 +00:00
James
08e8fd193e
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-11 08:21:40 +00:00
Jan Steemann
ed8e06b88e
added PERCENTILE function, draft
2014-11-10 18:10:59 +01:00
Jan Steemann
12d326d62b
updated documentation and operators behavior
2014-11-10 18:05:11 +01:00
scottashton
5743bb2b58
added tests for is-in-polygon
2014-11-10 11:31:57 +01:00
scottashton
1feb2df0c9
added tests for is-in-polygon
2014-11-10 11:29:45 +01:00
Jan Steemann
37751ecc7a
updated tests
...
updated docs
2014-11-10 10:54:50 +01:00
Jan Steemann
9c5d150866
use Ast::ReverseOperator
2014-11-08 22:31:31 +01:00
Jan Steemann
44d5dd2749
added test to Makefile, fixed jslint warning
2014-11-08 21:06:06 +01:00
James
31de49cccd
adding comment
2014-11-08 17:35:39 +00:00
James
e2b8456395
tests and bugfixes.
2014-11-08 17:31:30 +00:00
James
e9b761f1ca
another test for replace-or-with-in
2014-11-08 12:17:13 +00:00
scottashton
f72554d01e
added tests for aql functions within-rectangle and is-in-polygon
2014-11-07 15:55:41 +01:00
Jan Steemann
b0de1bb226
leaner and meaner error messages
2014-11-07 10:53:00 +01:00
Willi Goesgens
7e897ec39b
Implement tests with sorting on texts
2014-11-06 13:35:04 +01:00
James
868a7339fd
added 2 more tests for replace-OR-with-IN
2014-11-06 08:39:56 +00:00
Jan Steemann
bf30927913
removed canThrow tag for various built-in functions
2014-11-05 14:40:00 +01:00
Jan Steemann
19dc758c1a
added test
2014-11-05 13:04:57 +01:00
Jan Steemann
cbb96b31c2
fixed jslint warnings
2014-11-05 11:20:20 +01:00
Jan Steemann
74ef8a71a2
added to Makefile
2014-11-05 11:20:04 +01:00
James
643bb4f43b
more tests
2014-11-04 21:22:19 +00:00
James
9c71ee48c7
and more
2014-11-04 20:38:56 +00:00
James
206df8fc12
more tests.
2014-11-04 20:28:30 +00:00
James
a5fffd696e
more tests
2014-11-03 20:46:18 +00:00
James
d992b100fa
tests complete.
2014-11-03 20:25:16 +00:00
James
836fa08831
adding tests
2014-11-03 11:45:43 +00:00
Jan Steemann
e669dc7c29
re-activated tests
2014-11-01 18:06:15 +01:00
Jan Steemann
d1bf47a14a
fixed issue when rolling back remove operations that could not remove from indexes
2014-11-01 18:03:57 +01:00
Jan Steemann
e2cfa056c0
pass query warnings around in cluster
2014-11-01 16:36:58 +01:00
Jan Steemann
26c3b0174f
fixed tests
2014-10-31 19:58:20 +01:00
Jan Steemann
4f68960ed7
removed Ahuacatl [skip ci]
2014-10-31 17:31:00 +01:00
Jan Steemann
89c20d436c
jslint
2014-10-30 19:18:47 +01:00
Jan Steemann
83252851e6
report warnings in queries
2014-10-30 17:33:15 +01:00
Max Neunhoeffer
609adf0d37
Fix tests on cluster.
2014-10-30 10:57:31 +01:00
Max Neunhoeffer
e5249582ed
Fix tests in cluster.
2014-10-30 10:47:09 +01:00
Max Neunhoeffer
9a67b9a2cb
Fix tests for cluster.
2014-10-30 10:17:52 +01:00
Willi Goesgens
2c3c7155e0
Adjust test to cluster.
2014-10-29 16:22:31 +01:00
Willi Goesgens
f3381ef0a8
Split cluster/noncluster for sort.
2014-10-29 15:39:30 +01:00
Willi Goesgens
34f84ee2d4
Fix lint.
2014-10-29 14:44:56 +01:00
Max Neunhoeffer
e90bdfcf35
Fix two tests.
2014-10-29 13:51:48 +01:00
Jan Steemann
ca15e72b14
fixed test
2014-10-29 12:33:10 +01:00