(&self, args: ScalarFunctionArgs)
| 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 |