forked from influxdata/influxdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect math when aggregates that emit different times are used
When using `non_negative_derivative()` and `last()` in a math aggregate with each other, the math would not be matched with each other because one of those aggregates would emit one fewer point than the others. The math iterators have been modified so they now track the name and tags of a point and match based on those. This isn't necessarily ideal and may come to bite us in the future. We don't necessarily have a defined structure for all iterators so it can be difficult to know which of two points is supposed to come first in the ordering. This uses the common ordering that usually makes sense, but the query engine is getting complicated enough where I am not 100% certain that this is correct in all circumstances.
- Loading branch information
1 parent
b0abd6a
commit e49ba01
Showing
4 changed files
with
763 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.