apache / apache/iotdb

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

Abierto
#3,058 8 comentarios 1 reacción 1 asignado Reclamado por @Alima777 Ver en GitHub
Lenguaje dominante
Java
Estrellas
6.4k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
115

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.