diff --git a/pkg/logql/engine.go b/pkg/logql/engine.go index 5e88bdd5d4adc..40590408a7c31 100644 --- a/pkg/logql/engine.go +++ b/pkg/logql/engine.go @@ -389,7 +389,7 @@ func (q *query) evalSample(ctx context.Context, expr syntax.SampleExpr) (promql_ return JoinQuantileSketchVector(next, vec, stepEvaluator, q.params) case CountMinSketchVector: return JoinCountMinSketchVector(next, vec, stepEvaluator, q.params) - case LimitedLabelVector: + case HeapCountMinSketchVector: return JoinCountMinSketchVector(next, vec.CountMinSketchVector, stepEvaluator, q.params) default: return nil, fmt.Errorf("unsupported result type: %T", r)