apache / apache/datafusion

Deprecate `AggregateUDFImpl::is_nullable` in favour of `return_field`

Open
#18,882 2 comments 0 reactions 1 assignee Assigned to @CuteChuanChuan View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

Deprecate `is_nullable` as the same information is already encoded by the field from `return_field`

https://github.com/apache/datafusion/blob/5f2272219fc0d2f3bbbc4ee54062b41d7f5ab68a/datafusion/expr/src/udaf.rs#L508-L537

### Describe the solution you'd like

Similar to how we did for scalar UDFs: https://github.com/apache/datafusion/pull/17074

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.