apache / apache/iotdb

Wrong result when applying aggregation function on series with * and where clause

Đang mở
#3,058 8 bình luận 1 reaction 1 người được giao Được @Alima777 nhận Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.4k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
115

Mô tả

There is an error with the result of aggregation on series with * and where clause.

Data:

截屏2021-04-24 下午10 17 23

Select result:

截屏2021-04-24 下午10 10 32

截屏2021-04-24 下午10 10 09

The value of count(root.ln.wf02.wt02.temperature) should be 21 but it turned out to be 5 according to result of the `select count(temperature) from root.ln.*.* where temperature > 50.0`. The error also happened with regard to the `avg` function.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.