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

Function array_max_inner

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

Source from the content-addressed store, hash-verified

113}
114
115fn array_max_inner(args: &[ArrayRef]) -> Result<ArrayRef> {
116 let [array] = take_function_args("array_max", args)?;
117 match array.data_type() {
118 List(_) => array_min_max_helper(as_list_array(array)?, false),
119 LargeList(_) => array_min_max_helper(as_large_list_array(array)?, false),
120 arg_type => exec_err!("array_max does not support type: {arg_type}"),
121 }
122}
123
124make_udf_expr_and_func!(
125 ArrayMin,

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…