You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/02/08 03:59:08 UTC

[GitHub] [iotdb] HTHou edited a comment on issue #2648: Last query not right when having multiple devices

HTHou edited a comment on issue #2648:
URL: https://github.com/apache/iotdb/issues/2648#issuecomment-774847522


   The master branch has the same issue.
   
   By the way, the result will be correct after the IoTDB server restarted. 
   
   ```
   IoTDB> login successfully
   IoTDB> select last * from root
   +-----------------------------+------------------+-----+
   |                         Time|        timeseries|value|
   +-----------------------------+------------------+-----+
   |1970-01-01T08:00:00.001+08:00|root.turbine.d1.s1|  1.0|
   |1970-01-01T08:00:00.001+08:00|root.turbine.d1.s2|  2.0|
   +-----------------------------+------------------+-----+
   Total line number = 2
   It costs 0.626s
   IoTDB> select * from root
   +-----------------------------+------------------+------------------+------------------+
   |                         Time|root.turbine.d1.s1|root.turbine.d1.s2|root.turbine.d2.s1|
   +-----------------------------+------------------+------------------+------------------+
   |1970-01-01T08:00:00.001+08:00|               1.0|               2.0|              null|
   +-----------------------------+------------------+------------------+------------------+
   Total line number = 1
   It costs 0.080s
   ```


----------------------------------------------------------------
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:
users@infra.apache.org