timsaucer opened a new issue, #19768:
URL: https://github.com/apache/datafusion/issues/19768
### Is your feature request related to a problem or challenge?
`ArrayAgg` produces an output with data type:
```
DataType::List(Arc::new(Field::new_list_field(
arg_types[0].clone(),
true,
)))
```
If the input field is non-nullable, then we should be able to preserve this
in the output.
### Describe the solution you'd like
Implement `return_field` and remove `return_type`. Preserve nullability of
the input.
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
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]