jayzhan211 commented on issue #11923:
URL: https://github.com/apache/datafusion/issues/11923#issuecomment-2283124695
@alamb, I think we could have a breaking change on `return_type` with
`ReturnTypeArgs`, and remove `return_type_from_exprs`.
```rust
fn return_type(&self, _args: ReturnTypeArgs) -> Result<DataType> {
struct ReturnTypeArgs<'a> {
args: &'a [Expr],
schema: &'a dyn ExprSchema,
arg_types: &'a [DataType],
}
```
Alternatively, we switch all the function to `return_type_from_exprs`, since
I think most of them would expect the same `nullable` from input.
--
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]