You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2020/02/17 03:23:00 UTC
[jira] [Created] (IOTDB-495) Refactor Dataset and Executor in
QueryEngine
Jialin Qiao created IOTDB-495:
---------------------------------
Summary: Refactor Dataset and Executor in QueryEngine
Key: IOTDB-495
URL: https://issues.apache.org/jira/browse/IOTDB-495
Project: Apache IoTDB
Issue Type: Improvement
Components: Core/Engine
Reporter: Jialin Qiao
We put too much query logic in dataset, I suggest extracting query process in query executor. The dataset is only used as a data structure.
Then, the query process is :
SQL -> Planner -> QueryPlan
QueryPlan -> Query executor -> Dataset
Fetch result -> Query executor -> Dataset
We could cache a QueryExecutor in TSServiceImpl, and get a dataset from it at each fetch operation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)