HTHou edited a comment on pull request #2714:
URL: https://github.com/apache/iotdb/pull/2714#issuecomment-783179405
The order is correct now, but the result of avg seems not correct, which
shouldn't be null.
```
IoTDB> select sum(QPS),avg(QPS), sum(errorQps) from
root.yuerj."30001"."client-521".*.* GROUP BY ([1970-01-01T08:00:00.000+08:00,
1970-01-01T08:00:00.900+08:00), 100ms) ,level=3
+-----------------------------+--------------------------------------------+--------------------------------------------+-------------------------------------------------+
|
Time|sum(root.yuerj."30001"."client-521".*.*.QPS)|avg(root.yuerj."30001"."client-521".*.*.QPS)|sum(root.yuerj."30001"."client-521".*.*.errorQps)|
+-----------------------------+--------------------------------------------+--------------------------------------------+-------------------------------------------------+
|1970-01-01T08:00:00.000+08:00| 15.0|
null|
10.0|
|1970-01-01T08:00:00.100+08:00| 0.0|
null|
0.0|
|1970-01-01T08:00:00.200+08:00| 0.0|
null|
0.0|
|1970-01-01T08:00:00.300+08:00| 0.0|
null|
0.0|
|1970-01-01T08:00:00.400+08:00| 0.0|
null|
0.0|
|1970-01-01T08:00:00.500+08:00| 0.0|
null|
0.0|
|1970-01-01T08:00:00.600+08:00| 0.0|
null|
0.0|
|1970-01-01T08:00:00.700+08:00| 0.0|
null|
0.0|
|1970-01-01T08:00:00.800+08:00| 0.0|
null|
0.0|
+-----------------------------+--------------------------------------------+--------------------------------------------+-------------------------------------------------+
Total line number = 9
It costs 0.058s
```
----------------------------------------------------------------
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]