Open williamhbaker opened 3 years ago
I have a hunch that both keep() |> aggregate
and drop() |> aggregate
could be rewritten to equivalent group() |> aggregate
statements, allowing us to (eventually) share the benefits of #22469. keep
feels like a group-by, and drop
feels like a group-except. I haven't fully thought through all the edge cases we might hit trying to make the translation...
Flux queries involving
keep() |> aggregateWindow
ordrop() |> aggregateWindow
are slower than their InfluxQL equivalents. This issue is to optimize the Flux queries to be on par with InfluxQL.For
keep
, reference the community issue here: https://github.com/influxdata/influxdb/issues/18088 Fordrop
, see: https://github.com/influxdata/influxdb-comparisons/pull/198