Brett Buddin
b917d8d9b0
chore(influxdb): Placate the linter.
2020-08-27 15:46:32 -04:00
Stuart Carnie
dee8977d2c
chore: move v2/v1/tsdb → v2/tsdb
2020-08-26 10:46:47 -07:00
Stuart Carnie
31f4b1a403
fix(flux): Fix broken tests merged from master
2020-08-26 09:44:45 -07:00
Stuart Carnie
39ab4a10c5
Merge remote-tracking branch 'origin/master' into sgc/tsm1
...
# Conflicts:
# cmd/influxd/launcher/query_test.go
# go.mod
# go.sum
# query/promql/internal/promqltests/go.mod
# task/backend/executor/executor.go
# task/backend/executor/support_test.go
2020-08-26 09:26:43 -07:00
Stuart Carnie
8ff350557f
fix(flux): Skip failing tests to facilitate merge to master
...
Closes #19442
2020-08-26 09:24:09 -07:00
Paul Hummer
df41d42457
build(flux): update Flux to v0.82.2
2020-08-25 08:04:28 -06:00
Stuart Carnie
56e27b8893
Merge remote-tracking branch 'origin/master' into sgc/tsm1
...
# Conflicts:
# go.mod
# go.sum
# query/promql/internal/promqltests/go.mod
2020-08-12 09:07:30 -07:00
George
2636e976b9
chore(query): use dbrp v2 service in flux influx.v1 dependencies ( #19108 )
...
* chore(query): use dbrp v2 service in flux influx.v1 dependencies
* chore: update transpiler to use dbrp mapping service v2
2020-08-12 11:08:25 +01:00
Paul Hummer
9d7330a1c1
build(flux): update Flux to v0.79.0
2020-08-11 10:27:12 -06:00
jlapacik
46c7345dae
feat: enable pushdowns for sum, count, min, and max by default ( #19227 )
2020-08-05 12:06:35 -07:00
Faith Chikwekwe
d48dc690a6
feat(query/stdlib): add min and max to ReadGroup ( #19158 )
...
Enables the mix and max aggregates for the ReadGroupAggregte pushdown behind a feature flag.
Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com>
2020-08-05 09:40:26 -05:00
Stuart Carnie
0a644dceed
fix(storage): BufferedPointsWriter is for a single org / bucket only
...
Fixes experimental.to tests
2020-08-03 15:15:00 -07:00
Stuart Carnie
f3501aa338
fix(stdlib): Fix unit tests and improved to implementation
2020-08-03 09:21:04 -07:00
Stuart Carnie
81e3a017de
fix(testing): Fix compilation errors
2020-08-03 09:21:04 -07:00
Stuart Carnie
89532f0c29
refactor: move v2/v1/models to v2/models
2020-08-03 09:20:51 -07:00
Stuart Carnie
a71b43ff17
refactor: remove redundant files
...
* retention will be enforced by the InfluxDB 1.x engine
* storage will be a shim for `tsdb`, so don't need tests here
2020-08-03 09:20:50 -07:00
Stuart Carnie
a97ec1f34e
feat: Initial commit with working reads
2020-08-03 09:18:34 -07:00
Stuart Carnie
e3060c291c
refactor: tsdb store builds an runs
2020-08-03 09:18:32 -07:00
Yiqun (Ethan) Zhang
baa8323431
fix: group resultset produces 1 table per group ( #18968 )
...
This helps resolve #18098
2020-07-29 15:31:29 -05:00
Yiqun (Ethan) Zhang
8a27388601
feat: log query plan in metadata ( #19100 )
2020-07-27 17:14:49 -05:00
George
4a845f64cf
chore: simplify to transform dependencies ( #18820 )
...
* chore: remove bucket and org cruft from experimental to transformation
* chore: remove URM dependency from bucket auth middleware
2020-07-24 11:49:23 +01:00
Jonathan A. Sternberg
8678a22ee3
feat(storage/flux): add tests for min/max pushdowns ( #19028 )
2020-07-23 16:07:30 -05:00
Christopher M. Wolff
8b106bcee1
feat(storage): add mean aggregate array cursor and tests ( #19019 )
2020-07-23 09:49:53 -07:00
Adrian Thurston
c693f0b080
test: use experimental.chain in flux e2e tests to allow a single pass ( #18898 )
...
Force the writing of data and running of the test to happen sequentially. As
the results come out, collect them and report an error only if the diff results
are not empty.
2020-07-23 15:58:21 +03:00
yukta
dbcd363dad
feat(query/stdlib): update flags.yml with mergleFilterRule and add mergeFilterRule to rules.go with corresponding unit tests.
2020-07-22 08:16:35 -07:00
yukta
6448a155c3
feat(query/stdlib): update flags.yml with mergleFilterRule and add mergeFilterRule to rules.go with corresponding unit tests.
2020-07-22 08:16:35 -07:00
jlapacik
36987bec0f
feat: add offset parameter to window cursors
2020-07-20 12:23:37 -07:00
jlapacik
8907eee68d
feat: rewrite rule for pushing down window offset
2020-07-20 12:23:37 -07:00
Christopher M. Wolff
c695be2f56
feat(storage/reads): add min/max aggregate array cursors ( #18957 )
2020-07-20 10:17:04 -07:00
Faith Chikwekwe
43b5ef4db4
fix(query): produce error not panic for influxdb.to()
2020-07-15 08:50:15 -07:00
Paul Hummer
0265acf744
Merge pull request #18934 from influxdata/flux-staging/v0.73.0
...
build(flux): update Flux to v0.73.0
2020-07-14 11:40:27 -06:00
Paul Hummer
21a1faac6e
chore: fix accidental typo
2020-07-14 11:20:42 -06:00
Paul Hummer
ed66937378
chore: skip unbounded tests
2020-07-14 10:30:47 -06:00
Christopher M. Wolff
a68ecc3d03
fix(query/stdlib): exclude logic and errors in Flux function to() ( #18937 )
2020-07-13 14:09:40 -07:00
jlapacik
9f9be91828
feat: remove feature flags for first and last pushdowns
2020-07-07 14:15:48 -07:00
jlapacik
3246b3c7ad
refactor: remove feature flag for certain pushdowns
2020-07-01 12:59:39 -07:00
Jonathan A. Sternberg
e4e28526f8
build(flux): update Flux to v0.71.0 ( #18809 )
...
Additional changes:
* fix(query/stdlib): update rewrite rules for schema mutation
The schema mutator was wrapped in a dual implementation spec so the
rewrite rules were type asserting on the wrong type.
2020-07-01 13:12:50 -05:00
Jonathan A. Sternberg
1cd9569bff
feat(flags): add a feature flag for memory optimized schema mutation ( #18794 )
2020-06-29 16:53:45 -05:00
jlapacik
3958c76604
feat: turn on storage capability for first
2020-06-25 14:37:07 -07:00
Jonathan A. Sternberg
61362e4d63
feat(query/stdlib): add a rule to reorder group and window ( #18613 )
...
This rule reorders group and window so it will switch from using
`ReadGroup` to using `ReadWindowAggregate` when the intent is to
aggregate a grouped window. It will then add a group node that groups by
the given columns and the start and stop columns and then reperform the
aggregate. This is more performant than performing the group first.
2020-06-22 11:11:27 -05:00
Yiqun (Ethan) Zhang
95d97c6e29
feat(query): planner rule to push down window and bare first() and la… ( #18534 )
2020-06-17 14:00:40 -05:00
Adrian Thurston
5d1a759170
feat: annotate context with feature flags when handling flux queries ( #18506 )
...
Annotate the context with feature flags when handling flux queries in influxdb.
Taking advantage of this in flux end-to-end tests. Using a custom flagger that
can set overrides based on the test case that is about to be run, allowing us
to enable features in the end-to-end tests.
2020-06-17 16:55:29 +03:00
jlapacik
a19604c0ea
refactor: windowed read operation should include aggregate name
2020-06-16 18:05:21 -07:00
Christopher M. Wolff
8fa5d3f591
feat(query): add test and feature flag for pushing down sum ( #18484 )
2020-06-12 13:28:03 -07:00
Johnny Steenbergen
b1c7800bbe
chore(query): skip flakey test
...
references: #18463
2020-06-11 11:26:38 -07:00
Yiqun (Ethan) Zhang
82185dd434
feat: add feature flag for fill() ( #18445 )
2020-06-10 16:00:43 -05:00
Jonathan A. Sternberg
db686349e7
feat(storage/flux): support full aggregate window push down ( #18399 )
...
This enables a new rule that will push down the full `aggregateWindow`
query including the `duplicate` and `window(every: inf)` that recombines
the tables. When the full rule is used, the table is not split into
tables for each window and instead retains itself as a single table. The
start or stop column is renamed to `_time` and `_start` and `_stop` will
be the boundaries of the query.
2020-06-10 13:21:41 -05:00
Faith Chikwekwe
1bf2ce1a32
feat(query): register bare aggregate
2020-06-09 14:24:41 -07:00
Jonathan A. Sternberg
077949cd96
chore(flux): downgrade flux to v0.68.0 ( #18413 )
...
* revert: "feat: add feature flag for fill() (#18386 )"
This reverts commit 8f9e73af27
.
* chore(flux): downgrade flux to v0.68.0
2020-06-09 11:38:55 -05:00
Yiqun (Ethan) Zhang
8f9e73af27
feat: add feature flag for fill() ( #18386 )
2020-06-08 21:57:19 -05:00