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

Function array_remove_n_inner

datafusion/functions-nested/src/remove.rs:326–331  ·  view source on GitHub ↗
(args: &[ArrayRef])

Source from the content-addressed store, hash-verified

324}
325
326fn array_remove_n_inner(args: &[ArrayRef]) -> Result<ArrayRef> {
327 let [array, element, max] = take_function_args("array_remove_n", args)?;
328
329 let arr_n = as_int64_array(max)?.values().to_vec();
330 array_remove_internal(array, element, &arr_n)
331}
332
333fn array_remove_all_inner(args: &[ArrayRef]) -> Result<ArrayRef> {
334 let [array, element] = take_function_args("array_remove_all", args)?;

Callers

nothing calls this directly

Calls 5

take_function_argsFunction · 0.85
as_int64_arrayFunction · 0.85
array_remove_internalFunction · 0.85
to_vecMethod · 0.80
valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…