Skip to content

Commit

Permalink
Remove limit for druid exactify toplist query (#4642)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjain1 authored and begelundmuller committed Apr 19, 2024
1 parent 6cdf51d commit d7edc72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/queries/metricsview_comparison_toplist.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ func (q *MetricsViewComparison) executeDruidApproximateToplist(ctx context.Conte
q.addDimsAsFilter()

q.Measures = originalMeasures

// remove limit since we have already added filter with only toplist values and order clause will be present
q.Limit = 0

return q.executeToplist(ctx, olap, mv, priority, security)
}

Expand Down

0 comments on commit d7edc72

Please sign in to comment.