Bentzi Mor
08/13/2025, 5:29 PMBesides, I saw that for StarRocks "From v3.3.5, DATETIME supports millisecond and microsecond precision. The form of printing is YYYY-MM-DD HH:MM:SS.ffffff." So, I guess "timestamp" in Vertica and "datetime" in StarRocks should consume the same bytes now.
we are using 3.4.3
create table rawdata.test_tz (dt datetime);
insert into rawdata.test_tz values ('2025-03-28 02:09:02.98222');
insert into rawdata.test_tz values ('2025-03-28 02:09:08');
select * from rawdata.test_tz;
result:
2025-03-28 020908
2025-03-28 020902.0
How do I make it store full ms value?Bentzi Mor
08/13/2025, 5:43 PMЕвгений Шишкин
08/13/2025, 6:09 PMmysql> select * from test_tz;
+----------------------------+
| dt |
+----------------------------+
| 2025-03-28 02:09:02.982220 |
| 2025-03-28 02:09:08 |
+----------------------------+
2 rows in set (0.09 sec)