Yuan Tian created IOTDB-6275:
--------------------------------

             Summary: limit shouldn't be push down while having order by
                 Key: IOTDB-6275
                 URL: https://issues.apache.org/jira/browse/IOTDB-6275
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Query
            Reporter: Yuan Tian
            Assignee: Minghui Liu
         Attachments: image-2023-12-21-21-01-27-180.png

We cannot push limit down to scan if we have order by clause.

```

insert into root.db.d1(time,s1,s2) aligned values(now(),1,1)

explain select * from root.db.d1 order by s1 limit 10;

```

!image-2023-12-21-21-01-27-180.png!



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

Reply via email to