(&self, args: ScalarFunctionArgs)
| 96 | } |
| 97 | |
| 98 | fn invoke_with_args(&self, args: ScalarFunctionArgs) -> Result<ColumnarValue> { |
| 99 | match args.args[0].data_type() { |
| 100 | DataType::Utf8View | DataType::Utf8 => { |
| 101 | make_scalar_function(overlay::<i32>, vec![])(&args.args) |
| 102 | } |
| 103 | DataType::LargeUtf8 => { |
| 104 | make_scalar_function(overlay::<i64>, vec![])(&args.args) |
| 105 | } |
| 106 | other => exec_err!("Unsupported data type {other:?} for function overlay"), |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | fn documentation(&self) -> Option<&Documentation> { |
| 111 | self.doc() |
nothing calls this directly
no test coverage detected