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

   ## Description
   
   
   ### Reproduce
   ```
   --1. CREATE TEMPLATE
   create device template t1 (temperature FLOAT encoding=RLE, status BOOLEAN 
encoding=PLAIN compression=SNAPPY);
   show schema templates;
   show device templates;
   create database root.sg1;
   
   --2. SET TEMPLATE
   set device template t1 to root.sg1.d1;
   show paths set schema template t1;
   show paths set device template t1;
   
   --3. ACTIVATE TEMPLATE
   create timeseries of device template on root.sg1.d1;
   show paths using device template t1;
   show devices root.sg1.**;
   show timeseries;
   show timeseries root.sg1.**;
   
   --4. INSERT DATA
   insert into root.sg1.d1(time, temperature, status) values(1, 1, 1);
   insert into root.sg1.d1(time, temperature, status) values(2, 2, 0), (3, 3, 
1);
   select * from root.sg1.d1;
   
   --5. QUERY
   insert into root.sg1.d1.GPS(time, latitude, longitude) values(1, 1, 1);
   show timeseries root.sg1.d1.**;
   select * from root.sg1.**;
   ```
   <img width="936" alt="image" 
src="https://github.com/apache/iotdb/assets/43774645/ddd6ad3f-3e95-44b7-a047-183dbb2f99fa";>
   
   
   ### After fix
   <img width="1461" alt="image" 
src="https://github.com/apache/iotdb/assets/43774645/97ed6376-4adf-4413-a29e-ec717f8abe7f";>
   
   


-- 
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