You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "HueCodes (via GitHub)" <gi...@apache.org> on 2026/04/12 05:42:42 UTC

[PR] fix(spark): add custom nullability to SparkMakeInterval [datafusion]

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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix(spark): add custom nullability to SparkMakeInterval [datafusion]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #21564: fix(spark): add custom nullability to SparkMakeInterval
URL: https://github.com/apache/datafusion/pull/21564


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix(spark): add custom nullability to SparkMakeInterval [datafusion]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21564:
URL: https://github.com/apache/datafusion/pull/21564#issuecomment-4714234172

   Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days.


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] fix(spark): add custom nullability to SparkMakeInterval [datafusion]

Posted by "Jefffrey (via GitHub)" <gi...@apache.org>.
Jefffrey commented on PR #21564:
URL: https://github.com/apache/datafusion/pull/21564#issuecomment-4257502069

   Could you check this comment to make sure we implement this correctly?
   
   - https://github.com/apache/datafusion/issues/19155#issuecomment-3694002373
   
   I believe last time we tried something like this but implementing like this doesn't match the Spark semantics


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org