You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++][Gandiva] DATE_TRUNC with Minute rounds up to next minute sometimes #49775
Describe the bug, including details regarding any error messages, version, and platform.
Using DATE_TRUNC('minute', val) where val is '0862-08-10 06:01:12.476' will result in a value of 0862-08-10 06:02:00 - instead it should be 0862-08-10 06:01:00
Similar values with the same problem are 1242-04-09 19:54:20.000 and 1272-01-08 20:43:24.000
Activity
abtom87 commentedon Apr 22, 2026
Is this the macro that is relevant?
DATE_TRUNC_FUNCTIONS(TYPE)thisisnic commentedon Oct 26, 2026
Fixed in #46842