Commit ad4831c
authored
Use lossy summation for time-series aggregations (#132625)
Kahan summation can be expensive, and for time-series aggregation, a
lossy summation can be a good trade-off for performance. This change
introduces a lossy summation mode and makes it the default for
time-series aggregations. These two summation modes for sum and avg are
used internally and are not exposed to users.1 parent df5cd30 commit ad4831c
File tree
17 files changed
+1197
-33
lines changed- x-pack/plugin/esql
- compute/src
- main
- generated/org/elasticsearch/compute/aggregation
- java/org/elasticsearch/compute/aggregation
- test/java/org/elasticsearch/compute/aggregation
- src
- internalClusterTest/java/org/elasticsearch/xpack/esql/action
- main/java/org/elasticsearch/xpack/esql
- expression/function/aggregate
- parser
- test/java/org/elasticsearch/xpack/esql
- expression/function/aggregate
- optimizer
17 files changed
+1197
-33
lines changedLines changed: 193 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 47 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments