You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-52023][SQL] Fix data corruption/segfault returning Option[Product] from udaf
### What changes were proposed in this pull request?
This fixes so defining a udaf returning a `Option[Product]` produces correct results instead of the current behavior. Where it throws an exception, segfaults or produces incorrect results.
### Why are the changes needed?
Fix correctness issue.
### Does this PR introduce _any_ user-facing change?
Fixes a correctness issue.
### How was this patch tested?
Existing and new unittest.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes#50827 from eejbyfeldt/SPARK-52023.
Authored-by: Emil Ejbyfeldt <emil.ejbyfeldt@choreograph.com>
Signed-off-by: Herman van Hovell <herman@databricks.com>
0 commit comments