influxdb/iox_query_influxql
Martin Hilton 2f2fcb6f05
refactor(influxql): make DERIVATIVE a user-defined window function (#8265)
Now that user-defined window functions are available, change the
DERIVATIVE and NON_NEGATIVE_DERIVATIVE function implementations to
use user-defined windows functions. This should improve performance
by allowing the entire window to be processed in one go, rather
than processing one row at a time.

The implementation is also moved out of the planner module alongside
the other user-defined window functions.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-20 06:19:02 +00:00
..
src refactor(influxql): make DERIVATIVE a user-defined window function (#8265) 2023-07-20 06:19:02 +00:00
Cargo.toml chore(deps): Bump serde_json from 1.0.102 to 1.0.103 (#8240) 2023-07-17 11:36:47 +00:00