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:29:29 UTC
[GitHub] [iotdb] qiaojialin opened a new issue #2648: Last query not right when having multiple devices
qiaojialin opened a new issue #2648:
URL: https://github.com/apache/iotdb/issues/2648
version 0.11.2:
create timeseries root.turbine.d1.s1(temperature1) with datatype=FLOAT, encoding=GORILLA, compression=SNAPPY
create timeseries root.turbine.d1.s2(temperature2) with datatype=FLOAT, encoding=GORILLA, compression=SNAPPY
create timeseries root.turbine.d2.s1(temperature1) with datatype=FLOAT, encoding=GORILLA, compression=SNAPPY
insert into root.turbine.d1(timestamp,s1,s2) values(1,1,2);
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|
|1970-01-01T08:00:00.001+08:00|root.turbine.d2.s1| 1.0|
+-----------------------------+------------------+-----+
----------------------------------------------------------------
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
[GitHub] [iotdb] HTHou commented on issue #2648: Last query not right when having multiple devices
Posted by GitBox <gi...@apache.org>.
HTHou commented on issue #2648:
URL: https://github.com/apache/iotdb/issues/2648#issuecomment-774847522
The master branch has the same issue.
----------------------------------------------------------------
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
[GitHub] [iotdb] HTHou edited a comment on issue #2648: Last query not right when having multiple devices
Posted by GitBox <gi...@apache.org>.
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
[GitHub] [iotdb] qiaojialin closed issue #2648: Last query not right when having multiple devices
Posted by GitBox <gi...@apache.org>.
qiaojialin closed issue #2648:
URL: https://github.com/apache/iotdb/issues/2648
----------------------------------------------------------------
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