joseph-isaacs commented on issue #12819:
URL: https://github.com/apache/datafusion/issues/12819#issuecomment-2431555898
I am sorry for my previous response it was not quite what I was asking for.
I think _your_ proposed solution is?
```rust
fn invoke(&self, args: &[ColumnarValue]) -> DFResult<ColumnarValue> {
let arg_types = args.iter().map(|cv| cv.data_type()).collect_vec();
let return_type = self.return_type(&arg_types)?;
...
}
```
I was hoping to use the result of `return_type_from_exprs(self, &[Expr],
&dyn ExprSchema, &[DataType])` (in invoke) since I call
`expr.data_type_and_nullable(schema)?` on the inputs to get the correct
nullability.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]