Skip to content

Commit 2a60de7

Browse files
Preserved Error condition
1 parent 6de8be6 commit 2a60de7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • asap-common/dependencies/rs/promql_utilities/src/query_logics

asap-common/dependencies/rs/promql_utilities/src/query_logics/logics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub fn map_statistic_to_precompute_operator(
5151
}
5252
Statistic::Topk => Ok((AggregationType::CountMinSketchWithHeap, "topk".to_string())),
5353
Statistic::Cardinality => Ok((AggregationType::HLL, "".to_string())),
54+
_ => Err(format!("Statistic {statistic:?} not supported")),
5455
}
5556
}
5657

0 commit comments

Comments
 (0)