-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(flux): enable group > min/max pushdown (#21281)
* build(flux): update flux to v0.113.0 * feat(query): enable min/max pushdown * fix(query): fix the group last pushdown to use descending cursors * test(storage): add read group test with no agg Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com> Co-authored-by: Christopher M. Wolff <chris.wolff@influxdata.com> Co-authored-by: Faith Chikwekwe <faithchikwekwe01@gmail.com>
- Loading branch information
1 parent
e97c5d9
commit e74ece2
Showing
11 changed files
with
1,041 additions
and
345 deletions.
There are no files selected for viewing
61 changes: 61 additions & 0 deletions
61
flux/stdlib/influxdata/influxdb/min_max_influxdb_test.flux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
package influxdb_test | ||
|
||
import "testing/expect" | ||
|
||
option now = () => (2030-01-01T00:00:00Z) | ||
|
||
testcase push_down_min_bare extends "flux/planner/group_min_test" { | ||
expect.planner(rules: [ | ||
"PushDownGroupAggregateRule": 1, | ||
]) | ||
group_min_test.group_min_bare() | ||
} | ||
|
||
testcase push_down_min_bare_host extends "flux/planner/group_min_test" { | ||
expect.planner(rules: [ | ||
"PushDownGroupAggregateRule": 1, | ||
]) | ||
group_min_test.group_min_bare_host() | ||
} | ||
|
||
testcase push_down_min_bare_field extends "flux/planner/group_min_test" { | ||
expect.planner(rules: [ | ||
"PushDownGroupAggregateRule": 1, | ||
]) | ||
group_min_test.group_min_bare_field() | ||
} | ||
|
||
testcase push_down_max_bare extends "flux/planner/group_max_test" { | ||
expect.planner(rules: [ | ||
"PushDownGroupAggregateRule": 1, | ||
]) | ||
group_max_test.group_max_bare() | ||
} | ||
|
||
testcase push_down_max_bare_host extends "flux/planner/group_max_test" { | ||
expect.planner(rules: [ | ||
"PushDownGroupAggregateRule": 1, | ||
]) | ||
group_max_test.group_max_bare_host() | ||
} | ||
|
||
testcase push_down_max_bare_field extends "flux/planner/group_max_test" { | ||
expect.planner(rules: [ | ||
"PushDownGroupAggregateRule": 1, | ||
]) | ||
group_max_test.group_max_bare_field() | ||
} | ||
|
||
testcase push_down_table_test_min extends "flux/planner/group_min_max_table_test" { | ||
expect.planner(rules: [ | ||
"PushDownGroupAggregateRule": 1, | ||
]) | ||
group_min_max_table_test.group_min_table() | ||
} | ||
|
||
testcase push_down_table_test_max extends "flux/planner/group_min_max_table_test" { | ||
expect.planner(rules: [ | ||
"PushDownGroupAggregateRule": 1, | ||
]) | ||
group_min_max_table_test.group_max_table() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.