jixuan1989 commented on issue #2395:
URL: https://github.com/apache/iotdb/issues/2395#issuecomment-756530819


   - `last` is an individual statement, while `last_value` is an aggregation 
function. That means, you can use `last_value` attached with `group by` 
statement. 
   
   - if you have no filters (`where` clause, or just `where time > ?`), then 
use `last`, it is far faster than last_value.
   Otherwise, you have to use `last_value`.
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to