Boris Zhu created IOTDB-913:
-------------------------------

             Summary: Reduce unnecessary path split
                 Key: IOTDB-913
                 URL: https://issues.apache.org/jira/browse/IOTDB-913
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: Boris Zhu


Although in this pr 
[https://github.com/apache/incubator-iotdb/pull/1627|http://example.com/]*,*we 
reduce many unnecessary path split. But we still can find some unnecessary path 
split.

For example, in Planner Class, method rawDataQueryReqToPhysicalPlan

Change
{code:java}
selectOp.addSelectPath(new PartialPath(""));{code}
to
{code:java}
selectOp.addSelectPath(new PartialPath(new String[]{""}));
{code}
 

Change
{code:java}
PartialPath timePath = new PartialPath(TIME); filterOp.setSinglePath(timePath);
{code}
to
{code:java}
filterOp.setSinglePath(SQLConstant.TIME_PATH)
{code}
 



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

Reply via email to