EeshanBembi opened a new pull request, #19207:
URL: https://github.com/apache/datafusion/pull/19207
## Which issue does this PR close?
Closes #19172
## What changes are included in this PR?
Implement `return_field_from_args` for `SparkElt` to correctly report
nullability based on
input field nullability, instead of always returning `nullable=true`.
## Are these changes tested?
Yes, added unit test `test_elt_nullability` that verifies:
- Result is non-nullable when all inputs are non-nullable
- Result is nullable when index is nullable
- Result is nullable when any value is nullable
--
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]