是否可以有一个聚合的总和?
例如,我每小时都有温度,我想计算序列差异的总和(时间T的温度减去T-1处的温度)。我可以计算串行差异,但是我不能做结果的总和。
据我所知,SUM不能应用于聚合。我也尝试使用累积总和,但出现错误:
Visualize: Request to Elasticsearch failed: {"error":{"root_cause":
[],"type":"search_phase_execution_exception","reason":"","phase":"fetch",
"grouped":true,"failed_shards":[],"caused_by":
{"type":"null_pointer_exception","reason":null}},"status":503}
谢谢