You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yuan Tian (Jira)" <ji...@apache.org> on 2021/12/21 08:23:00 UTC

[jira] [Created] (IOTDB-2186) Optimization for fill query

Yuan Tian created IOTDB-2186:
--------------------------------

             Summary: Optimization for fill query
                 Key: IOTDB-2186
                 URL: https://issues.apache.org/jira/browse/IOTDB-2186
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Query
            Reporter: Yuan Tian
            Assignee: crz
             Fix For: master branch


Currently, while doing fill query, like

`select s1 from root.sg1.d1 where time=100 fill(float[previous])`

we first do raw query for `select s1 from root.sg1.d1 where time=1` and then if the result is null, we will construct another last query for it.

However, we can use `select s1 from root.sg1.d1 where time <= 100 limit 1` to do that.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)