Open
Description
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