Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
2022-5-StorageEngine
Description
master branch.
commit id 5fcff40f2299caeb0c8a9ae42f68bc18ecf8fee7 .
SET STORAGE GROUP TO root.sg
CREATE TIMESERIES root.sg.d1.s2 WITH DATATYPE=DOUBLE, ENCODING=PLAIN
insert into root.sg.d1(time,s2 ) values (1574179200000000,8.76);
IoTDB> select * from root.sg.d1;
------------------------------------------+
Time | root.sg.d1.s2 |
------------------------------------------+
+51853-10-03T00:00:.00000+08:00 | 8.76 |
------------------------------------------+
should be give an error :
Incorrect datetime value ....
IoTDB> select * from root.sg.d1 where time=51853-10-03T00:00:.00000+08:00
Msg: 401: Error occurred while parsing SQL to physical plan: line 1:36 extraneous input '51853-10-03T00:00:' expecting {NOW, TRUE, FALSE, '-', '.', 'NaN', INT, EXPONENT, DATETIME, DOUBLE_QUOTE_STRING_LITERAL, SINGLE_QUOTE_STRING_LITERAL}