-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(flux): add window aggregate pushdown rules #21085
feat(flux): add window aggregate pushdown rules #21085
Conversation
@@ -3,6 +3,7 @@ package influxdb | |||
import ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-paste from 2.x
@@ -2,6 +2,7 @@ package influxdb | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-paste from 2.x
@@ -2,6 +2,7 @@ package influxdb_test | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-paste from 2.x
@@ -7,6 +7,7 @@ import ( | |||
"github.com/influxdata/flux" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-paste from 2.x
@@ -6,6 +6,7 @@ require ( | |||
collectd.org v0.3.0 | |||
github.com/BurntSushi/toml v0.3.1 | |||
github.com/apache/arrow/go/arrow v0.0.0-20200923215132-ac86123a3f01 | |||
github.com/benbjohnson/tmpl v1.0.0 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was added automatically when I ran go generate
, seems reasonable to have a version pinned here
@@ -1,5 +1,7 @@ | |||
package reads | |||
|
|||
//go:generate env GO111MODULE=on go run github.com/benbjohnson/tmpl -data=@types.tmpldata flux_table.gen.go.tmpl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-pasted from 2.x
@@ -1 +1,4 @@ | |||
package reads | |||
|
|||
//go:generate env GO111MODULE=on go run github.com/benbjohnson/tmpl -data=@array_cursor.gen.go.tmpldata array_cursor.gen.go.tmpl | |||
//go:generate env GO111MODULE=on go run github.com/benbjohnson/tmpl -data=@array_cursor.gen.go.tmpldata -o=array_cursor_gen_test.go array_cursor_test.gen.go.tmpl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-pasted from 2.x
@@ -4,7 +4,6 @@ import ( | |||
"bytes" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-pasted from 2.x
@@ -0,0 +1,32 @@ | |||
[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-pasted from 2.x
@@ -0,0 +1,190 @@ | |||
package reads |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-pasted from 2.x
Closing this; will reopen in smaller pieces |
Part of #21069
Builds off of #21074
This took a lot more code than I expected, but the majority of what's added here is copied verbatim (maybe with import fixups) from 2.x. I'll comment explanations on each file.
Still TODO: Write some test cases using the new Flux test harness