Commit Graph

364 Commits (d17beb5b47efecad42a445ea3ebdd4b233026683)

Author SHA1 Message Date
Adam Perlin d17beb5b47
Merge pull request #459 from influxdata/ap-flux-increase
Add increase to flux as built in function
2018-07-24 10:46:55 -07:00
adamperlin f6a5e47d4b Update formatting of flux increase built-in to align with standard style 2018-07-24 10:42:20 -07:00
adamperlin ca0b4e4549 Order all data by time in flux increase test case, add related non-negative derivative test case 2018-07-23 17:18:29 -07:00
Jade McGough e6b7001f34 add owner mapping filter struct 2018-07-23 16:37:32 -07:00
adamperlin f8c204a62f Add increase to flux as built in function, change test data to account for counter wraps to values other than zero 2018-07-23 16:21:55 -07:00
jlapacik 39569cef9d
Merge pull request #175 from influxdata/jl-update-grammar-spec
update flux grammar spec to include OptionStatement
2018-07-20 12:57:56 -07:00
jlapacik d70ec9a31f update flux grammar spec to include OptionStatement 2018-07-20 12:53:14 -07:00
Lorenzo Fontana 2838250afb
Merge pull request #445 from fntlnz/testing/id-from-string
Testing using ids generated from string using Decode
2018-07-20 19:46:25 +02:00
Lorenzo Fontana 145122232c
Testing using ids generated from string using Decode
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-07-20 19:43:22 +02:00
Lorenzo Fontana 5f1f9a99c2
Merge pull request #443 from fntlnz/feature/static-id-string
Static id from string function
2018-07-20 17:02:44 +02:00
Lorenzo Fontana 8f0ebe47f2
Static id from string function
Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Chris Goller <goller@gmail.com>
2018-07-20 17:00:36 +02:00
Jonathan A. Sternberg f2a8ae22b2
Merge pull request #435 from influxdata/js-427-cancel-enqueue
fix(query/control): cancel the enqueue of a query if the context finishes
2018-07-19 13:59:00 -05:00
Chris Goller 9e24a79f61
Merge pull request #441 from influxdata/fix/dbrp-valid-names
fix(dbrp): use validName from influx 1.x
2018-07-19 11:24:46 -05:00
Chris Goller 63969a9251 fix(dbrp): use validName from influx 1.x 2018-07-19 11:15:14 -05:00
Chris Goller 9975280368
Merge pull request #440 from influxdata/fix/dbrp-with-dash
fix(dbrp): allow dash as valid character
2018-07-19 10:24:24 -05:00
Chris Goller 562343034f fix(dbrp): allow dash as valid character 2018-07-19 10:21:06 -05:00
jlapacik c5606851c8
Merge pull request #439 from influxdata/jl-fix-go-vet
go test examples must follow a very specific format
2018-07-19 07:36:52 -07:00
jlapacik af986e4f4d go test examples must follow a very specific format when not referring to a specific identifier 2018-07-19 07:28:59 -07:00
Jade McGough 5e5198b550 feat(platform): add owner mapping structs/interfaces 2018-07-19 00:39:34 -07:00
Jonathan A. Sternberg ff8c9cfb34 fix(query/control): cancel the enqueue of a query if the context finishes
If a query is attempting to be enqueued and it gets canceled, it will
now stop attempting to add it to the new queries queue and return the
error reported by the context. This allows the http server to cancel a
running query when the client disconnects for whatever reason without
continuing to attempt to process the canceled query.
2018-07-18 15:37:25 -05:00
Nathaniel Cook e302d3a178 Merged pull request #401 from influxdata/nc-dbrp-read
feat: Use DBRPMappings in 1.x read path
2018-07-18 09:55:08 -06:00
Lorenzo Fontana 8681940d7a
Merge pull request #428 from fntlnz/signals-context-duplicated-check
chore(kit/signals): removed duplicated check for signals and add an example
2018-07-18 17:50:31 +02:00
Nathaniel Cook d568d7fd01 feat: Use DBRPMappings in 1.x read path 2018-07-18 09:46:57 -06:00
Lorenzo Fontana 016bff0dc8
chore(kit/signals): removed duplicated check for signals and add an example
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-07-18 17:34:17 +02:00
Chris Goller 2bb809dfc0
Merge pull request #426 from influxdata/feature/simple-cli
feat(kit/cli): add viper simplification
2018-07-18 10:06:37 -05:00
Chris Goller 658b73b7fc
Merge pull request #425 from influxdata/feature/signals
feature(kit/signals): add standard method to capture signals with context
2018-07-18 09:12:21 -05:00
Chris Goller 70f5eae423 feat(kit/cli): add viper simplification 2018-07-17 22:52:37 -05:00
Chris Goller 9df3a40cbf feature(kit/signals): add standard method to capture signals with context 2018-07-17 21:47:02 -05:00
Jonathan A. Sternberg 016caba031
Merge pull request #424 from influxdata/js-setup-remote-docker
fix(circleci): setup remote docker so that the deploy works for nightlies
2018-07-17 18:08:53 -05:00
Lyon Hill be271bc6e4
Merge pull request #423 from influxdata/feat/query-eval
feat(query): split compile into two functions to allow Eval access
2018-07-17 16:48:03 -06:00
Jonathan A. Sternberg 54dde88da1 fix(circleci): setup remote docker so that the deploy works for nightlies 2018-07-17 17:32:34 -05:00
Lyon Hill 586d35ce98 update Eval docs 2018-07-17 16:17:55 -06:00
Lyon Hill 4eb335b360
Merge pull request #422 from influxdata/feat/task-option
feat(query): add task options
2018-07-17 16:12:56 -06:00
Lyon Hill ec2764f8d0 feat(query): split compile into two functions to allow Eval access 2018-07-17 16:12:17 -06:00
Lyon Hill cb04d22e73 feat(query): add task options 2018-07-17 15:52:33 -06:00
Jonathan A. Sternberg b665290f2c
Merge pull request #420 from influxdata/js-flux-docker-nightly
feat(docker): create a fluxd nightly docker image
2018-07-17 16:04:27 -05:00
Jonathan A. Sternberg de61a79483 feat(docker): create a fluxd nightly docker image 2018-07-17 15:06:31 -05:00
Nathaniel Cook f520b21134 Merged pull request #421 from influxdata/nc-query-headers
fix: Defer writing HTTP headers in query service
2018-07-17 14:01:59 -06:00
Nathaniel Cook 2fe60c3ce2 fix: Defer writing HTTP headers in query service
This makes it so we can encode errors in HTTP headers so long as the
encoder did not write anything.

This also changes the behavior to encode the stats trailer even in the
event of an error.
2018-07-17 13:43:20 -06:00
Nathaniel Cook 523ec81d5b Merged pull request #418 from influxdata/nc-query-stats
feat: Add query statistics
2018-07-17 09:18:47 -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 3d6aa22c07
Merge pull request #388 from influxdata/jl-add-now-field-to-query-spec
flux options interface. Closes #46 #37 .
2018-07-16 14:36:13 -07:00
jlapacik 524c4ccf35 flux options interface
default now option value
2018-07-16 14:24:37 -07:00
Nathaniel Cook 244288fa66 Merged pull request #410 from influxdata/nc-fix-build-rename-errors
fix: Fix tests that are failing because of the rename
2018-07-13 13:06:40 -06: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