Jefffrey commented on code in PR #22516:
URL: https://github.com/apache/datafusion/pull/22516#discussion_r3314806607
##########
datafusion/functions/src/macros.rs:
##########
Review Comment:
we could simplify as so too
```rust
fn return_type(&self, arg_types: &[DataType]) -> Result<DataType> {
Ok(arg_types[0].clone())
}
```
since args are already coerced by this point
--
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]