MCPcopy Create free account
hub / github.com/apache/datafusion / min_values_sorted

Method min_values_sorted

datafusion/datasource/src/statistics.rs:262–266  ·  view source on GitHub ↗

Return a sorted list of the min statistics together with the original indices

(&self)

Source from the content-addressed store, hash-verified

260
261 /// Return a sorted list of the min statistics together with the original indices
262 pub fn min_values_sorted(&self) -> Vec<(usize, Row<'_>)> {
263 let mut sort: Vec<_> = self.min_by_sort_order.iter().enumerate().collect();
264 sort.sort_unstable_by_key(|(_, row)| *row);
265 sort
266 }
267
268 /// Check if the min/max statistics are in order and non-overlapping
269 /// (or touching at boundaries)

Calls 2

collectMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected