zerolbsony opened a new pull request, #16057:
URL: https://github.com/apache/iotdb/pull/16057

   IoTDB> CREATE DATABASE root.ln;
   Msg: The statement is executed successfully.
   IoTDB> create device template t1 (temperature FLOAT, status BOOLEAN);
   Msg: The statement is executed successfully.
   IoTDB> set device template t1 to root.ln.d1;
   Msg: The statement is executed successfully.
   IoTDB> create timeseries using device template on root.ln.d1;
   Msg: The statement is executed successfully.
   IoTDB> show timeseries root.ln.**;
   
+----------------------+-----+--------+--------+--------+-----------+----+----------+--------+------------------+--------+
   |            
Timeseries|Alias|Database|DataType|Encoding|Compression|Tags|Attributes|Deadband|DeadbandParameters|ViewType|
   
+----------------------+-----+--------+--------+--------+-----------+----+----------+--------+------------------+--------+
   |root.ln.d1.temperature| null| root.ln|   FLOAT| GORILLA|        LZ4|null|   
   null|    null|              null|    BASE|
   |     root.ln.d1.status| null| root.ln| BOOLEAN|     RLE|        LZ4|null|   
   null|    null|              null|    BASE|
   
+----------------------+-----+--------+--------+--------+-----------+----+----------+--------+------------------+--------+
   Total line number = 2
   It costs 0.042s
   IoTDB> insert into root.ln.d1 values (timestamp, temperature, status) values 
(1, null, null);
   Msg: org.apache.iotdb.jdbc.IoTDBSQLException: 700: Error occurred while 
parsing SQL to physical plan: line 1:23 extraneous input 'values' expecting '('
   IoTDB> insert into root.ln.d1 (timestamp, temperature, status) values (1, 
null, null);
   Msg: The statement is executed successfully.
   IoTDB> insert into root.ln.d1 (timestamp, temperature, status) values (2, 
null, null);
   Msg: The statement is executed successfully.
   
   If switch is opened, will see this record in the datanode.all.log file:
   
   30452 [pool-78-IoTDB-ClientRPC-Processor-1$20250730_020116_00003_1.1.0] INFO 
 o.a.i.d.s.d.m.AbstractMemTable - pointsInserted cnt:0, 
pointsInsertedExcludeNullValue cnt:2 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to