apache / apache/iotdb

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

Offen
#3,058 8 Kommentare 1 Reaktion 1 zugewiesene Person Beansprucht von @Alima777 Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
6.4k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
115

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.