背景
执行如下sql会失败并报如题目中的错误
insert into event (subject, time, type)
values (now(), 'type');
原因
now() returns a timeuuid, not a timestamp
解决办法
尝试用 dateOf(now())
insert into event (time, type)
values (dateOf(now()), 'type');
结果
问题解决
标签:function,timeuuid,timestamp,into,time,now,type From: https://www.cnblogs.com/qingxuan0316/p/17162126.html