Skip to main content

ingest_array_into_histogram_values

Function ingest_array_into_histogram_values 

Source
pub fn ingest_array_into_histogram_values(array: &dyn Array) -> Result<Vec<f64>>
Expand description

Extract non-null numeric values from array as f64, ready to feed into samkhya_core::sketches::EquiDepthHistogram::from_values. Returns an Error::InvalidSketch for non-numeric arrays — the histogram has no meaningful interpretation over strings / bytes / booleans.