Kudu timestamps are microseconds since Unix epoch stored as int64, so Impala has to round its nanosecond timestamps before writing them to Kudu tables. Currently this is done by rounding to the nearest microsecond. Meanwhile Hive uses rounding towards minus infinity when reducing the precision of timestamps, which is a better way in my opinion, because it cannot move a timestamp into a different day, and should be also a bit faster.
Changing the rounding method is breaking change, so I would only do this in the next major release.
create table tkudu (id int primary key, t timestamp) stored as kudu;
insert into tkudu values
(1,"1970-01-01 00:00:00.1111111"), – all sub-second parts are 7 digit
select * from tkudu;
This currently returns:
1 was rounded down to microsec precision, while 2 and 3 were rounded up and also stepped to another day.
If the table was written using rounding toward minus infinity, then the query would return this: