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

Function array_min_inner

datafusion/functions-nested/src/min_max.rs:193–200  ·  view source on GitHub ↗
(args: &[ArrayRef])

Source from the content-addressed store, hash-verified

191}
192
193fn array_min_inner(args: &[ArrayRef]) -> Result<ArrayRef> {
194 let [array] = take_function_args("array_min", args)?;
195 match array.data_type() {
196 List(_) => array_min_max_helper(as_list_array(array)?, true),
197 LargeList(_) => array_min_max_helper(as_large_list_array(array)?, true),
198 arg_type => exec_err!("array_min does not support type: {arg_type}"),
199 }
200}
201
202fn array_min_max_helper<O: OffsetSizeTrait>(
203 array: &GenericListArray<O>,

Callers

nothing calls this directly

Calls 5

take_function_argsFunction · 0.85
array_min_max_helperFunction · 0.85
as_list_arrayFunction · 0.85
as_large_list_arrayFunction · 0.85
data_typeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…