|
|
@ -3000,11 +3000,12 @@ func (ev *evaluator) aggregation(e *parser.AggregateExpr, q float64, inputMatrix
|
|
|
|
annos.Add(annotations.NewMixedFloatsHistogramsAggWarning(e.Expr.PositionRange()))
|
|
|
|
annos.Add(annotations.NewMixedFloatsHistogramsAggWarning(e.Expr.PositionRange()))
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if aggr.abandonHistogram {
|
|
|
|
switch {
|
|
|
|
|
|
|
|
case aggr.abandonHistogram:
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
} else if aggr.hasHistogram {
|
|
|
|
case aggr.hasHistogram:
|
|
|
|
aggr.histogramValue.Compact(0)
|
|
|
|
aggr.histogramValue.Compact(0)
|
|
|
|
} else {
|
|
|
|
default:
|
|
|
|
aggr.floatValue += aggr.floatKahanC
|
|
|
|
aggr.floatValue += aggr.floatKahanC
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|