Commit Graph

299 Commits (01ad9e99a74f6a36a4da09ea7839e1ad616294ed)

Author SHA1 Message Date
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
Nathaniel Cook 987b045f97 Merged pull request #381 from influxdata/nc-link
fix: Update Spec.md link
2018-07-12 13:40:19 -06: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
Mark Rushakoff a1bf6856fc chore(http): integrate with prom.Registry 2018-07-11 16:54:23 -07:00
Mark Rushakoff 15efa9d411 chore(query/control): use non-global prometheus metrics 2018-07-11 16:54:23 -07:00
Mark Rushakoff 11d5e76e1b chore(prometheus): don't use global prometheus registry
And add tests.
2018-07-11 16:54:23 -07:00
Mark Rushakoff 037eca4577 feat(kit/prom): add kit/prom and kit/prom/promtest
This is to drive eliminating use of global prometheus registries, and to
facilitate testing of metrics close to where they're generated.
2018-07-11 16:54:23 -07:00
Chris Goller 2287e1f3d5
Merge pull request #386 from influxdata/fix/tdigest
chore(vendor): update tdigest library fixing percentile panics
2018-07-11 13:46:09 -05: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
Chris Goller a514ce2cf4 chore(vendor): update tdigest library fixing percentile panics 2018-07-11 11:51:03 -05:00
Nathaniel Cook 0ab163b68c fix: Update Spec.md link 2018-07-10 16:41:35 -06:00
Nathaniel Cook 33050848a8 Merged pull request #380 from influxdata/nc-dbrp-mapper
chore(dbrp mapper): Move DBRP mapper to platform
2018-07-10 16:33:49 -06:00
Nathaniel Cook 23ab3f1981 chore(dbrp mapper): Move DBRP mapper to platform 2018-07-10 15:56:57 -06:00
Nathaniel Cook f47daadd43 feat(query): Add support for using bucketID in from 2018-07-10 15:52:48 -06:00
jlapacik 9df4c82bf3
Merge pull request #378 from influxdata/jl-fix-node-ordering-in-spec
order parents in join based on parameter name
2018-07-10 13:00:53 -07: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
Adam Perlin 3289e2897b
Merge pull request #377 from influxdata/refactor-move-test-data
Refactor move test data
2018-07-09 18:08:51 -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
Jonathan A. Sternberg ca66f0df74
Merge pull request #376 from influxdata/js-query-try-plan
fix(query/control): race condition when attempting to plan a query in the controller
2018-07-09 16:00:01 -05:00
Adam 67bb5af1fb
regex support added to transpiler (#356)
* feat(query/influxql): add regex support to transpiler
also added test case to querytest

* Add raw_with_condition test to transpiler unit tests

* add unit tests for regex conditions on raw query
2018-07-09 16:54:00 -04:00
Jonathan A. Sternberg b9a4f1be74 fix(query/control): race condition when attempting to plan a query in the controller 2018-07-09 15:40:07 -05:00
jlapacik 9c8e89c83e
Merge pull request #347 from influxdata/jl-remove-query-domain
remove notion of query domain
2018-07-09 13:30:14 -07:00
jlapacik 15e3b7edf0 remove query domain 2018-07-09 13:27:30 -07:00
Jonathan A. Sternberg c3de8a6f5d
Merge pull request #372 from influxdata/js-query-controller-finished-panic
fix(query/control): discard finished queries from the priority queue
2018-07-09 13:34:46 -05:00
Jonathan A. Sternberg 9615528e31 fix(query/control): discard finished queries from the priority queue 2018-07-09 13:27:14 -05:00
Adam Perlin f92b105275
Merge pull request #360 from influxdata/ifql-time-selectors
Add test to make sure relevant _time values are returned when using top() selector
2018-07-06 16:31:25 -07:00
Adam Perlin 3b122e327d
Merge pull request #354 from influxdata/ifql-window-interval
Add initial window bound offset test cases for flux
2018-07-06 12:57:17 -07:00
adamperlin 0881ca9bee Add group() to selector_preserve_time flux tests 2018-07-06 12:36:15 -07:00
adamperlin 8e920cd793 Add test for default window boundary alignment in flux 2018-07-06 12:14:58 -07:00
adamperlin 622dd66356 Update test data point time ranges to include each _time value 2018-07-06 12:14:14 -07:00