apache / apache/iotdb

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

Aperta
#3,058 8 commenti 1 reazione 1 assegnatario Rivendicata da @Alima777 Vedi su GitHub
Lingua principale
Java
Stelle
6.4k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
115

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.