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
findepi
changed the title
MySQL connectors writes TIMESTAMPS as datetime(0)
MySQL connectors writes TIMESTAMPS as datetime(0) in CREATE TABLE AS ...
Feb 16, 2021
Trino is writing TIMESTAMPs as
datetime(0)
to MySQL causing a loss of precision.Easy to observe using a
CREATE TABLE test_ts AS SELECT TIMESTAMP '2020-01-01 01:01:01.123'
.SELECT * FROM test_ts
returns2020-01-01 01:01:01
.The text was updated successfully, but these errors were encountered: