Lyon Hill
cb04d22e73
feat(query): add task options
2018-07-17 15:52:33 -06:00
Nathaniel Cook
85b7d36147
feat: Add query statistics
...
Introduces the Statisticser interface which ResultIterators may
implement.
The HTTP implementation uses HTTP trailers to preserve the statistics.
This way we do not need to have all encoders and decoders support
statistics.
2018-07-17 09:16:27 -06:00
jlapacik
524c4ccf35
flux options interface
...
default now option value
2018-07-16 14:24:37 -07:00
Nathaniel Cook
336313bddb
fix: Fix tests that are failing because of the rename
...
These tests were part of a PR when the rename was made.
The changes were not rebased before merge so we did not discover the
failures till after the merge.
2018-07-13 13:02:37 -06:00
Jonathan A. Sternberg
12b3e5de6d
Merge pull request #403 from influxdata/js-queryd-catch-execute-panics
...
feat(query/control): catch panics when executing a query in the controller
2018-07-13 13:33:57 -05:00
Adam Perlin
b6afb5ff47
Merge pull request #398 from influxdata/ap-difference-panic-fix
...
Fix for panic when `difference` is called with no data
2018-07-13 10:42:12 -07:00
Nathaniel Cook
d9b2377c9f
Merged pull request #406 from influxdata/nc-rename-block
...
chore: Rename block to table
2018-07-13 10:56:44 -06:00
Nathaniel Cook
43ff647444
fix: Update Godoc parameter name
2018-07-13 10:43:20 -06:00
Adam Perlin
ed1809a513
Merge pull request #390 from influxdata/ifql-test-metaquery
...
Add initial flux meta query tests
2018-07-13 09:27:33 -07:00
adamperlin
70fae6f77a
Move length check out of loop
2018-07-13 09:17:59 -07:00
Nathaniel Cook
7902652290
chore: Rename local vars for b to tbl
2018-07-13 10:04:38 -06:00
Nathaniel Cook
80acc8d8c4
chore: Rename block to table
2018-07-13 09:56:35 -06:00
Adam Perlin
99e1f362af
Merge pull request #405 from influxdata/ifql-test-string-interp
...
Add flux string interpolation test
2018-07-13 08:55:36 -07:00
Nathaniel Cook
e4848caa25
chore: Rename parition key to group key
2018-07-12 16:16:58 -06:00
Jonathan A. Sternberg
4a275e0e2e
feat(query/control): catch panics when executing a query in the controller
2018-07-12 17:16:12 -05:00
adamperlin
4db4a832a3
Add flux string interpolation test
2018-07-12 15:06:59 -07:00
adamperlin
becab773b3
Add additional measurements to flux measurement query test input
2018-07-12 13:18:02 -07:00
Nathaniel Cook
01ad9e99a7
Merged pull request #379 from influxdata/nc-bucket-id
...
feat(query): Add support for using bucketID in from
2018-07-12 13:42:29 -06:00
adamperlin
4885fd3049
Remove unnecessary condition from in flux difference function implementation
2018-07-12 12:42:16 -07:00
Nathaniel Cook
987b045f97
Merged pull request #381 from influxdata/nc-link
...
fix: Update Spec.md link
2018-07-12 13:40:19 -06:00
adamperlin
3e7c79a072
Fix off-by-one error in difference bounds check, update unit tests to account for n=1 and n=0 points
2018-07-12 11:38:24 -07:00
adamperlin
d190ad369c
Add fix for panic in flux difference function; add related tests
2018-07-12 11:38:20 -07:00
Jonathan A. Sternberg
3d67f92c82
Merge pull request #397 from influxdata/nc-controller-panic
...
fix(query): Fix panic in controller if planning errors
2018-07-12 12:50:30 -05:00
Nathaniel Cook
932c114649
fix(query): Fix panic in controller if planning errors
2018-07-12 11:47:34 -06:00
Adam Perlin
a8ecbe52c5
Merge pull request #394 from influxdata/ifql-test-increase
...
Ifql test increase
2018-07-12 09:50:28 -07:00
Adam Perlin
9380d47a7d
Merge pull request #391 from influxdata/ifql-test-groupfield
...
Add flux test for explicitly grouping by field
2018-07-12 09:48:49 -07:00
adamperlin
d1119b0b68
Update difference_panic flux test
2018-07-12 08:15:42 -07:00
Adam
c8da4b02aa
feat(query/influxql): Add group-by time + offset support ( #384 )
...
previous versions only supported the first parameter to time() that set the window size. This version supports the second parameter, which shifts the offset a fixed amount from the epoch
2018-07-12 10:46:29 -04:00
adamperlin
a0300688d5
Add test cases for flux sum increase function and difference() panic
2018-07-11 20:32:08 -07:00
adamperlin
ad2e467df9
Add flux test for explicitly grouping by field
2018-07-11 17:53:01 -07:00
adamperlin
16b6c5e39e
Add initial flux meta query tests
2018-07-11 17:33:59 -07:00
Mark Rushakoff
15efa9d411
chore(query/control): use non-global prometheus metrics
2018-07-11 16:54:23 -07:00
Adam Perlin
8dbd50712c
Merge pull request #364 from influxdata/ifql-test-groupexcept
...
Add group except test for flux
2018-07-11 10:40:32 -07:00
adamperlin
274a27a22b
Add additional tags to exclude in flux group except test
2018-07-11 10:18:01 -07:00
adamperlin
bb13ef8d8a
Change sequence in flux group except test
2018-07-11 10:18:01 -07:00
adamperlin
4f6ba26579
Add group except test for flux
2018-07-11 10:17:55 -07:00
Adam Perlin
34b7837449
Merge pull request #363 from influxdata/ap-panic-fix-stringmax
...
Fix panic when unimplemented selector function is used
2018-07-11 10:10:35 -07:00
adamperlin
cadc97ecd1
Add link to issue in failing flux test skip description; change error constructor in test function
2018-07-11 10:03:55 -07:00
Nathaniel Cook
0ab163b68c
fix: Update Spec.md link
2018-07-10 16:41:35 -06:00
Nathaniel Cook
f47daadd43
feat(query): Add support for using bucketID in from
2018-07-10 15:52:48 -06:00
jlapacik
aba6fc3378
order parents in join based on parameter name
2018-07-10 11:09:58 -07:00
adamperlin
ac09a65727
Handle query execution errors in query_test to avoid infinite blocking issues after fail
2018-07-09 18:24:54 -07:00
adamperlin
8e34bd779e
Update output file for flux string max test with new error message
2018-07-09 18:10:21 -07:00
adamperlin
fe1493c120
Update error message for function unimplemented for data type in flux
2018-07-09 18:10:21 -07:00
adamperlin
bcbc0256d5
Change error message when selector function is nil
2018-07-09 18:10:21 -07:00
adamperlin
b46a14ba77
Remove broken nil check method; add simple interface nil check
2018-07-09 18:10:21 -07:00
adamperlin
a546bbfcb1
Add error message when row selector interface has nil value to avoid panic
2018-07-09 18:10:21 -07:00
adamperlin
dddfe38ee9
Move additional tests to new query test location
2018-07-09 14:17:02 -07:00
adamperlin
b3aff30f4d
Move main end to end flux query test to query/functions package dir
2018-07-09 14:13:53 -07:00
adamperlin
df44aa0ad5
Move querytest/test_cases to functions/testdata and update query_test with new path
2018-07-09 14:13:53 -07:00