(args: &[ArrayRef])
| 113 | } |
| 114 | |
| 115 | fn 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 | |
| 124 | make_udf_expr_and_func!( |
| 125 | ArrayMin, |
nothing calls this directly
no test coverage detected
searching dependent graphs…