Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
2022-2-Hou
Description
Currently, if we insert multiple same measurements in one insertion, it'll succeed in non-aligned timeseries but not in aligned timeseries. We need to ban this kind of behavior to unify them.
IoTDB> insert into root.sg.d1(time,s1,s1) values(1,2,3)
insert into root.sg.d1(time,s1,s1) values(1,2,3)
Msg: The statement is executed successfully.
IoTDB> select ** from root
select ** from root
+-----------------------------+-------------+
| Time|root.sg.d1.s1|
+-----------------------------+-------------+
|1970-01-01T08:00:00.001+08:00| 3.0|
+-----------------------------+-------------+
Total line number = 1
It costs 0.058s
IoTDB> insert into root.sg.d2(time,s1,s1) aligned values(1,2,3)
insert into root.sg.d2(time,s1,s1) aligned values(1,2,3)
Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: executeNonQueryPlan failed. Index 1 out of bounds for length 1
Attachments
Issue Links
- links to