[ 
https://issues.apache.org/jira/browse/IOTDB-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jialin Qiao closed IOTDB-298.
-----------------------------
    Fix Version/s: 0.10.0-SNAPSHOT
       Resolution: Fixed

> Last time-value query
> ---------------------
>
>                 Key: IOTDB-298
>                 URL: https://issues.apache.org/jira/browse/IOTDB-298
>             Project: Apache IoTDB
>          Issue Type: New Feature
>            Reporter: Jialin Qiao
>            Assignee: Shao Wei
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10.0-SNAPSHOT
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> We have two aggregators:
> last_value -> return the value of the last data point
> max_time -> return the time of the last data point
> However, we do not have an aggregator that returns the last time-value pair. 
> This is very antihuman in a time-series database :(:(:(
>  
> I suggest adding a new last query:
>  
> last s1 from root.sg1.d1, root.sg1.d2 or other similar grammar.
>  
> The Result should be in the following format: 
>  
> Path, Time, Value
> root.sg1.d1.s1, 100, 100
> root.sg1.d2.s1, 10, 10
>  



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

Reply via email to