Gaofei Cao created IOTDB-6343:
---------------------------------

             Summary: Fix the device path construction bug in 
visitSingleDeviceViewNode of AggragationPushDown
                 Key: IOTDB-6343
                 URL: https://issues.apache.org/jira/browse/IOTDB-6343
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Gaofei Cao


Before fix, order by time align by device query with template will meet error.

The code below can reproduce this problem.
 {{CREATE database root.sg3;

CREATE schema template t1 (s1 FLOAT encoding=RLE, s2 BOOLEAN encoding=PLAIN 
compression=SNAPPY, s3 INT32);

SET SCHEMA TEMPLATE t2 to root.sg3;

INSERT INTO root.sg3.d1(timestamp,s1,s2,s3) values(1,1.1,false,1), 
(2,2.2,false,2), (5,5.5,true,5), (1314000000000,13.14,true,1314);

delete from root.sg3.d1.s1 where time <= 5;

select count(s1) from root.sg3.** order by time align by device;}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to