-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
:StorageEngine/ES|QLTimeseries / metrics / logsdb capabilities in ES|QLTimeseries / metrics / logsdb capabilities in ES|QLTeam:StorageEngine
Description
Currently, when a time-series aggregation does not specify an inner over_time aggregation, we default to using last_over_time. However, this approach is not suitable for types that require a different default over_time aggregation, such as exponential_histogram. Also, if the internal aggregation is not an original field (e.g., TS .. | STATS sum(a + b)), the correct rewrite should be TS .. | STATS SUM(last_over_time(a) + last_over_time(b)) instead.
Relates #138563
Metadata
Metadata
Assignees
Labels
:StorageEngine/ES|QLTimeseries / metrics / logsdb capabilities in ES|QLTimeseries / metrics / logsdb capabilities in ES|QLTeam:StorageEngine