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

Jialin Qiao closed IOTDB-334.
-----------------------------
    Resolution: Fixed

> Move limit parser to Server side
> --------------------------------
>
>                 Key: IOTDB-334
>                 URL: https://issues.apache.org/jira/browse/IOTDB-334
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: Jialin Qiao
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In our query process, SQL will be analyzed by Antlr in the server-side, then 
> generated to a logical plan. 
> However, query SQL is also parsed in the client (IoTDBQueryResultSet) by the 
> following statement to get the value of the limit clause.
> String[] splited = sql.toUpperCase().split("
> s+");
> This causes extra parsing for a query, which will slow down the query speed.
> I recommend moving the limit parsing to the server-side.



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

Reply via email to