[ 
https://issues.apache.org/jira/browse/IOTDB-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17080427#comment-17080427
 ] 

WangChao commented on IOTDB-557:
--------------------------------

"By using generalized "and" and "or", we can replace such a filter tree with 
just one filter node", how to express it ? I do not understand why it work.

> Use generalized "and" and "or"
> ------------------------------
>
>                 Key: IOTDB-557
>                 URL: https://issues.apache.org/jira/browse/IOTDB-557
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Planner/SQLOptimizer
>            Reporter: Tian Jiang
>            Priority: Minor
>              Labels: expression, query
>
> We only use binary "and" and "or" in expression construction, as a result, a 
> filter like "root.group1.*.s1 > 1" (* ranges from d1 to d100) will result in 
> a filter tree of over 100 nodes, which could be a great waste when there are 
> even more series. 
> By using generalized "and" and "or", we can replace such a filter tree with 
> just one filter node, which I think could relieve the Java GC a lot.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to