influxdb/storage/reads
Jonathan A. Sternberg 519f60f7d5
feat(storage/reads): replace panic on unsupported type with an error (#19353)
This replaces the panic that happens when attempting to create a cursor
for an unsupported aggregate type for the mean aggregate. It instead
refactors the result set so the cursor is constructed as part of the
`Next()` call and false is returned when there is an error creating the
cursor. The cursor is then accessed with `Cursor()`. When `Next()`
returns false, an error can be accessed by using `Err()`.
2020-08-20 10:13:49 -05:00
..
datatypes feat(storage): add mean aggregate array cursor and tests (#19019) 2020-07-23 09:49:53 -07:00
Makefile fix: group resultset produces 1 table per group (#18968) 2020-07-29 15:31:29 -05:00
aggregate_resultset.go feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
aggregate_resultset_test.go feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
array_cursor.gen.go feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
array_cursor.gen.go.tmpl feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
array_cursor.gen.go.tmpldata feat(storage): add mean aggregate array cursor and tests (#19019) 2020-07-23 09:49:53 -07:00
array_cursor.go feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
array_cursor_gen_test.go feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
array_cursor_test.gen.go.tmpl feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
array_cursor_test.go feat(storage): add mean aggregate array cursor and tests (#19019) 2020-07-23 09:49:53 -07:00
gen.go refactor(storage/reads): refactor/generalize aggregate array cursor code and add tests (#18414) 2020-06-11 16:01:47 -07:00
group_resultset.go feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
group_resultset_test.go feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
influxql_eval.go refactor(storage): rename things so flux and influxql influence is clear (#17108) 2020-03-05 15:23:05 -08:00
influxql_expr.go refactor(storage): rename things so flux and influxql influence is clear (#17108) 2020-03-05 15:23:05 -08:00
influxql_predicate.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
influxql_predicate_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
keymerger.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
keymerger_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
modulo.go feat: add offset parameter to window cursors 2020-07-20 12:23:37 -07:00
predicate.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
predicate_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
resultset.go feat(storage/reads): replace panic on unsupported type with an error (#19353) 2020-08-20 10:13:49 -05:00
resultset_lineprotocol.go fix(reads): Fix ResultSetToLineProtocol to generate correct output 2020-05-08 12:39:54 -07:00
series_cursor.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
series_cursor_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
store.go fix: group resultset produces 1 table per group (#18968) 2020-07-29 15:31:29 -05:00
store_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
tagsbuffer.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
types.tmpldata chore: refactor reads service and make it consumable externally 2018-10-09 09:51:13 -06:00
viewer.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00