You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/05/10 11:58:14 UTC

[GitHub] [iotdb] Alima777 edited a comment on issue #3058: Wrong result when applying aggregation function on series with * and where clause

Alima777 edited a comment on issue #3058:
URL: https://github.com/apache/iotdb/issues/3058#issuecomment-836607286


   It's not a bug i think.
   `select temperature from root.ln.*.* where temperature > 50` means 
   select `root.ln.*.*.temperature` ... where `root.ln.*.*.temperature` > 50.
   
   Therefore,  root.ln.wf01.wt01.temperature,  root.ln.wf01.wt02.temperature, root.ln.wf02.wt01.temperature,  root.ln.wf02.wt02.temperature will be considered at the same time.
   
   If you want to take just root.ln.wf02.wt02 as filter, write sql like this:
   select temperature from root.ln.*.* where root.ln.wf02.wt02.temperature > 50
   


-- 
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:
users@infra.apache.org