CoDEmanX
6fba9c5284
Additional AQL date functions: DATE_DAYOFYEAR, DATE_ISOWEEK, DATE_LEAPYEAR, DATE_QUARTER, DATE_ADD, DATE_SUBTRACT, DATE_DIFF, DATE_COMPARE and DATE_FORMAT.
...
Unit tests incomplete and untested. Behavior of some functions might need adjustments. ISO duration cache needs to be cleared on every AQL query to avoid a memory leak.
Please rebuild Aardvark and see TODOs in code. Also added Windows shortcuts to ignore list.
2015-09-11 06:23:36 +02:00
Jan Steemann
79a34e94e6
jslint
2015-09-08 17:39:01 +02:00
Jan Steemann
a7b51c39da
added tests
2015-09-08 17:34:14 +02:00
Michael Hackstein
fdde6a69c6
Added failure tests for new implementation of HashIndex. And fixed a memleak there.
2015-09-08 15:35:21 +02:00
Jan Steemann
560a039f3e
added tests
2015-09-08 14:22:23 +02:00
Jan Steemann
3e7f4b61ea
added test
2015-09-07 20:54:51 +02:00
Jan Steemann
47360f4511
added tests
2015-09-04 14:21:31 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Jan Steemann
0e802d6438
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-02 10:20:18 +02:00
Jan Steemann
a80d6635ab
create fat datafiles
...
This prevents SIGBUS when a sparse datafile is accessed and the disk is full. In
this case the mmapped region is not necessarily backed by physical memory, and
accessing the memory may crash the program
2015-09-02 10:18:24 +02:00
Michael Hackstein
25a52dac53
Disabled test for cluster mode for now
2015-09-01 10:06:26 +02:00
Michael Hackstein
40c1361244
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-25 16:40:31 +02:00
Jan Steemann
1af238a6d5
added tests for requireFromIncluded
2015-08-25 12:50:58 +02:00
Jan Steemann
31a6547d4c
fix replication resumption
2015-08-21 15:57:24 +02:00
Michael Hackstein
c26be36e61
Added tests for Sparse indexes
2015-08-21 15:04:01 +02:00
Michael Hackstein
a2d26056b2
Added a test file for array indexing
2015-08-20 15:48:11 +02:00
Jan Steemann
bc7e0f7bbd
issue #1445 : Object literal simplificatin does not support pseudo-variables NEW and OLD
2015-08-19 09:25:46 +02:00
Jan Steemann
76e85ffc1f
added test case
2015-08-18 12:09:30 +02:00
Jan Steemann
9f9a158419
do not execute OOM tests in cluster case, where they cannot fire
2015-08-13 15:38:01 +02:00
Jan Steemann
5b82096145
honor indexBuckets attribute in restore operation of collection
2015-08-13 15:37:32 +02:00
Jan Steemann
6845321737
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
Conflicts:
js/server/tests/shell-foxx-manager-spec.js
2015-08-13 13:21:55 +02:00
Jan Steemann
1aeca516f2
fix jslint
2015-08-13 13:18:02 +02:00
Willi Goesgens
b322ede0f7
lintit
2015-08-13 13:11:56 +02:00
Jan Steemann
743d3914d3
enough is enough: disable failing test until properly fixed
2015-08-13 12:41:37 +02:00
Alan Plum
398a868ea6
Add support for joi options. Fixes #1425 .
2015-08-11 16:12:11 +02:00
Jan Steemann
434d6167db
added configuration option `--database.throw-collection-not-loaded-error`
2015-08-11 12:31:42 +02:00
Michael Hackstein
675766490b
Fixed a failure test that was not deterministic
2015-08-07 14:56:57 +02:00
Alan Plum
fa552c3a52
Removed stray type option from session tests.
2015-08-05 14:07:14 +02:00
Willi Goesgens
b4675448c2
remove stray test of removed foxx-feature.
2015-08-05 09:48:08 +02:00
Alan Plum
9f31b0eb57
Removed session opts.type from test.
2015-08-04 21:13:21 +02:00
Alan Plum
2a17f87e38
Removed Foxx JWT tests.
2015-08-04 21:08:22 +02:00
Jan Steemann
b591706484
fixed locking
2015-08-04 15:42:39 +02:00
Jan Steemann
f89af3f6f4
adjusted tests for indexBuckets
2015-08-04 14:02:04 +02:00
Jan Steemann
7a3d49be88
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-04 10:30:28 +02:00
Jan Steemann
5dab23a3b7
CXX implementation of AQL `LIKE`
2015-08-04 10:30:18 +02:00
Max Neunhoeffer
88518dd4ba
Fix tests for new ClusterInfo: call ClusterInfo::flush after test.
2015-08-04 09:33:19 +02:00
Alan Plum
72fefa71fc
400 -> 422
2015-07-30 19:00:25 +02:00
Jan Steemann
2d8777bc6c
make the optimizer create less plans
2015-07-30 00:07:32 +02:00
Michael Hackstein
25f7b25206
Fixed failing failure-tests
2015-07-28 13:21:54 +02:00
Michael Hackstein
a0e3ea9c7b
Fixed Neighbor tests in cluster
2015-07-24 16:05:49 +02:00
Jan Steemann
dbb740a705
activate distinct test
2015-07-24 13:41:01 +02:00
Jan Steemann
38b2d6caea
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-24 13:21:49 +02:00
Jan Steemann
ead280afe5
added DISTINCT
2015-07-24 13:19:55 +02:00
Michael Hackstein
9cc0554346
Merge branch 'fasterNeighbors' into devel
2015-07-24 10:25:00 +02:00
Michael Hackstein
488baac515
Fixed ordering in a aql-general-graph test
2015-07-23 17:19:59 +02:00
Michael Hackstein
84174aa99a
Added edgeExamples functionality to CPPonly Neighbors.
2015-07-23 15:25:50 +02:00
Jan Steemann
e5dbf725b2
added shorthand notation for attribute names in AQL object literals
2015-07-23 14:24:37 +02:00
Jan Steemann
4d0872f2b9
more cxx
2015-07-20 18:42:02 +02:00
Jan Steemann
118fd54fd0
split tests
2015-07-20 10:58:43 +02:00
Jan Steemann
ad30baa08c
retry qcache with cluster
2015-07-14 14:53:16 +02:00
Jan Steemann
c4e2c8f894
renamed test
2015-07-14 14:07:25 +02:00
Jan Steemann
c71dc4d9bb
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache
2015-07-13 10:49:14 +02:00
Willi Goesgens
3da5855d6a
Fix wait loop for file to dissappear
2015-07-03 16:16:05 +02:00
Jan Steemann
1f5e047486
query cache, now with result limitations, HTTP and JavaScript APIs
2015-06-27 01:12:32 +02:00
Jan Steemann
d06400233f
added test
2015-06-25 23:49:34 +02:00
Jan Steemann
8372c33993
fixed invalidation with index creation etc., adjusted tests
2015-06-25 23:40:31 +02:00
Jan Steemann
fe7b1fef7d
added tests
2015-06-25 20:01:36 +02:00
Jan Steemann
e49ee0cf11
added tests
2015-06-25 17:20:44 +02:00
Jan Steemann
66eec2ac7e
fix invalidation
2015-06-25 16:46:04 +02:00
Jan Steemann
29c1904e21
issue #1383 : bindVars for HTTP API doesn't work with empty string
2015-06-25 09:23:40 +02:00
Jan Steemann
1bd60ea20c
fixed jslint warning
2015-06-19 14:26:43 +02:00
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