andygrove opened a new pull request, #3145: URL: https://github.com/apache/datafusion-comet/pull/3145
## Summary - Adds native Comet support for Spark's `datediff` function - Returns the number of days between two dates: `datediff(endDate, startDate)` = endDate - startDate - Since Date32 stores days since epoch, implementation is a simple subtraction ## Test Plan - Added unit tests in `CometTemporalExpressionSuite` - Tests cover: positive/negative differences, same dates, larger ranges, null handling - All existing tests pass > **Note:** This PR was generated with AI assistance. Closes #3087 -- 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]
