Support creating arrays with non-nullable elements in `make_array`
- 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?
`make_array` currently hard codes that all return types and arrays returned from invoke have a nullable element.
### Describe the solution you'd like
Check the input expressions, and if all are non-nullable, the array element should be non-nullable
### Describe alternatives you've considered
_No response_
### Additional context
Discovered this while trying to implement array creation support in datafusion-comet
Contributor guide
Research direction
Start by locating the make_array implementation and the invoke return-type handling described in the issue. Trace how input expression nullability is checked, then verify that arrays built only from non-nullable expressions have non-nullable elements while nullable inputs preserve nullable elements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- data-engineering
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100