IMPALA-6606: date_trunc() misinterprets MILLENNIUM/CENTURY precision
This change fixes the following correctness bug: date_trunc() function
returns the wrong result when truncating a TIMESTAMP value to
'MILLENNIUM' precision. E.g.:
select now(), date_trunc('millennium', now());
+-
IMPALA-6606: date_trunc() misinterprets MILLENNIUM/CENTURY precision
This change fixes the following correctness bug: date_trunc() function
returns the wrong result when truncating a TIMESTAMP value to
'MILLENNIUM' precision. E.g.:
select now(), date_trunc('millennium', now());
+-