apache / apache/datafusion

Support MapArray in lambda clear null values

Open
#22,846 0 comments 0 reactions 1 assignee Claimed by @rluvaton 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?

clearing non empty null values for map have the same benefit as clearing nulll values from list before passing the lambda udf

the benefit is to help implementors avoid common pitfall that calling the lambda function with values that should not be evaluated

### Describe the solution you'd like

support map array in `clear_null_values` for `HigherOrderUDFImpl`

### Describe alternatives you've considered

_No response_

### Additional context

I raised this after finding a possible bug in `transform_values` lambda function pr here:
- https://github.com/apache/datafusion/pull/22689#discussion_r3379546674

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.