influxdb/query_functions
Marco Neumann 0f3d393b39
fix: do not panic in Influx selectors (#8513)
Selectors that are value-based (like "min" and "max") and that also
track "other" fields (so things apart from the timestamp and the value),
panicked when the saw the same min/max value in different batches but
the timestamp did was NOT smaller than the previously selected value. An
example would be:

Batch | time | value | other
----- | ---- | ----- | ------
1     | 0    | 0     | 0
2     | 0    | 0     | 1

This adds the fix and a test.

Closes https://github.com/influxdata/idpe/issues/17968 .

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-17 15:45:05 +00:00
..
src fix: do not panic in Influx selectors (#8513) 2023-08-17 15:45:05 +00:00
Cargo.toml chore(deps): Bump tokio from 1.31.0 to 1.32.0 (#8507) 2023-08-17 08:06:29 +00:00