lriggs opened a new issue, #46841: URL: https://github.com/apache/arrow/issues/46841
### Describe the bug, including details regarding any error messages, version, and platform. Using DATE_TRUNC('day', val) where val is '1899-01-01 12:00:00.000' will result in a value of 1899-01-02 00:00:00.000 - instead it should be 1899-01-01 00:00:00.000 Similar values with the same problem are 1940-02-29 12:00:00.000 and 1899-12-31 00:00:00.000 ### Component(s) Gandiva -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org