[ 
https://issues.apache.org/jira/browse/IOTDB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jialin Qiao closed IOTDB-339.
-----------------------------
    Fix Version/s: 0.10.0-SNAPSHOT
       Resolution: Fixed

> Optimize QueryPlan
> ------------------
>
>                 Key: IOTDB-339
>                 URL: https://issues.apache.org/jira/browse/IOTDB-339
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: Jialin Qiao
>            Priority: Minor
>             Fix For: 0.10.0-SNAPSHOT
>
>
> For a query such as "select s1, s1 from root.d1", the query process is as 
> follows:
> (1) Parse the SQL to a QueryPlan, in which the selected paths are 
> <root.d1.s1, root.d1.s1>.
> (2) Return the selected paths to the client for result printing, and 
> recording this QueryPlan in the server.
> (3) When the client fetches the result, the QueryPlan is passed to 
> QueryProcessExecutor. The executor deduplicate the paths and execute the plan.
> (4) Return the result set.
>  
> I recommend moving the deduplication to step (1) and put the origin projected 
> paths and deduplicated paths in QueryPlan. Then, the executor could focus on 
> executing, instead of optimization.
>  
>  



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

Reply via email to