HueCodes opened a new pull request, #21564:
URL: https://github.com/apache/datafusion/pull/21564

   ## Which issue does this PR close?
   
   - Closes #19155.
   
   ## Rationale for this change
   
   SparkMakeInterval uses the default is_nullable which always returns true. 
Spark derives nullability from inputs: nullable only if any input is nullable 
or seconds contains non-finite values.
   
   ## What changes are included in this PR?
   
   Add return_field_from_args() matching the pattern in SparkMakeDtInterval.
   
   ## Are these changes tested?
   
   Yes, added return_field_respects_nullability test.
   
   ## Are there any user-facing changes?
   
   No.


-- 
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]

Reply via email to