OpenMLDB icon indicating copy to clipboard operation
OpenMLDB copied to clipboard

insert invalid timestamp value won't fail

Open vagetablechicken opened this issue 1 year ago • 0 comments

Bug Description

insert a large number( > int64 max 2147483647) into timestamp column, won't get error. Although, it won't add one row.

Expected Behavior

get error msg?

Steps to Reproduce

127.0.0.1:8004/db> create table tts(c1 timestamp);
127.0.0.1:8004/db> insert into tts values(1111111111111111111111111);
SUCCEED
127.0.0.1:8004/db> select * from tts;
 ----
  c1
 ----

0 rows in set

vagetablechicken avatar Jul 27 '22 08:07 vagetablechicken