fix(chart-data): ignore orderby on sample result type (#11656)

This commit is contained in:
Ville Brofeldt
2020-11-11 16:27:56 +02:00
committed by GitHub
parent 329e72885c
commit 77dff0e4e0
2 changed files with 2 additions and 1 deletions

View File

@@ -148,6 +148,7 @@ class QueryContext:
if self.result_type == utils.ChartDataResultType.SAMPLES:
row_limit = query_obj.row_limit or math.inf
query_obj = copy.copy(query_obj)
query_obj.orderby = []
query_obj.groupby = []
query_obj.metrics = []
query_obj.post_processing = []