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 2020/04/14 11:24:00 UTC

[jira] [Created] (IOTDB-595) Use value in timeGenerator instead of constructing another reader

Yuan Tian created IOTDB-595:
-------------------------------

             Summary: Use value in timeGenerator instead of constructing another reader
                 Key: IOTDB-595
                 URL: https://issues.apache.org/jira/browse/IOTDB-595
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: Yuan Tian
            Assignee: Yuan Tian


In IoTDB server, while we are doing a RawDataQueryWithValueFilter, like

`select s0 from root.ln.d0 where root.ln.d0.s0 > 5`

We will firstly construct a timeGenerator to get next time that satisfy the filter and then construct another `IReaderByTimestamp` to read by timestamp for each time series.

However, in this case, the value of s0 has been in the timeGenerator, so we don't need to query again.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)