andygrove opened a new pull request, #3141: URL: https://github.com/apache/datafusion-comet/pull/3141
## Summary - Adds native Comet support for Spark's `unix_date` function - Converts a date to the number of days since Unix epoch (1970-01-01) - Implemented as a cast from Date32 to Int32 since dates are internally stored as days since epoch ## Test Plan - Added unit tests for basic functionality with random data - Added tests for literal dates including epoch and pre-epoch dates - Added test for null handling - Verified all existing tests pass > **Note:** This PR was generated with AI assistance. Closes #3097 -- 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]
