Jefffrey opened a new issue, #22528: URL: https://github.com/apache/datafusion/issues/22528
### Describe the bug Given this error test case, we return null: https://github.com/apache/datafusion/blob/bdf8a6d0ad0706ccf29d85caf2436039e3bf77d3/datafusion/sqllogictest/test_files/date_bin_errors.slt#L26-L30 However if we modify it to use the array path instead, it errors: ```sql DataFusion CLI v53.1.0 > select date_bin(interval '1 month', c, timestamp '1984-01-07 00:00:00') from values (to_timestamp_millis(-1040292460)) t(c); Arrow error: Compute error: Execution error: Invalid timestamp value ``` ### To Reproduce _No response_ ### Expected behavior We should fix these paths so the behaviour is consistent across paths. May need to investigate what other behaviours deviate. ### Additional context _No response_ -- 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]
