xiaozhihong created IOTDB-3814:
----------------------------------
Summary: Inserting multiple data in multiple time series without
data type verification
Key: IOTDB-3814
URL: https://issues.apache.org/jira/browse/IOTDB-3814
Project: Apache IoTDB
Issue Type: Bug
Components: mpp-cluster
Affects Versions: 0.14.0-SNAPSHOT
Reporter: xiaozhihong
Assignee: Haonan Hou
Attachments: image-2022-07-13-15-14-01-190.png
Start 1 confignode and 1 datanode, enter CLI , Insert two pieces of data for
two aligned time series, without checking the data type.
Like this:
{code:java}
IoTDB> show timeseries;
> show devices;
+--------------+-----+-------------+--------+--------+-----------+----+----------+
| timeseries|alias|storage
group|dataType|encoding|compression|tags|attributes|
+--------------+-----+-------------+--------+--------+-----------+----+----------+
|root.sg1.d1.s1| null| root.sg1| INT32| RLE| SNAPPY|null|
null|
|root.sg1.d1.s2| null| root.sg1| DOUBLE| GORILLA| SNAPPY|null|
null|
+--------------+-----+-------------+--------+--------+-----------+----+----------+
Total line number = 2
It costs 0.041s
+-----------+---------+
| devices|isAligned|
+-----------+---------+
|root.sg1.d1| true|
+-----------+---------+
IoTDB> insert into root.sg1.d1(time, s1, s2) aligned values(10, 2, 2), (11, 3,
'3'), (12,12.11,false);
Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "insert into
root.sg1.d1(time, s1, s2) aligned values(10, 2, 2), (11, 3, '3'),
(12,12.11,false)". executeStatement failed. null
IoTDB> insert into root.sg1.d1(time, s1, s2) aligned values(20, 2, 2), (21, 3,
'3');
Msg: The statement is executed successfully.
IoTDB> insert into root.sg1.d1(time, s1, s2) aligned values(22, 2, false), (23,
3, '3');
Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "insert into
root.sg1.d1(time, s1, s2) aligned values(22, 2, false), (23, 3, '3')".
executeStatement failed. null
{code}
The log is :
!image-2022-07-13-15-14-01-190.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)