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

Method invoke_with_args

datafusion/functions-nested/src/position.rs:123–128  ·  view source on GitHub ↗
(&self, args: ScalarFunctionArgs)

Source from the content-addressed store, hash-verified

121 }
122
123 fn invoke_with_args(&self, args: ScalarFunctionArgs) -> Result<ColumnarValue> {
124 match try_array_position_scalar(&args.args)? {
125 Some(result) => Ok(result),
126 None => make_scalar_function(array_position_inner)(&args.args),
127 }
128 }
129
130 fn aliases(&self) -> &[String] {
131 &self.aliases

Calls 3

make_scalar_functionFunction · 0.70