Jialin Qiao created IOTDB-340:
---------------------------------
Summary: Remove unnecessary getting data types from MManager when
querying
Key: IOTDB-340
URL: https://issues.apache.org/jira/browse/IOTDB-340
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Jialin Qiao
In a QueryPlan, the selected paths with data types, predicates (expression)
are included.
{code:java}
private List<Path> paths;
private List<TSDataType> dataTypes;
private IExpression expression;
{code}
However, when executing a QueryPlan in the AbstractQueryProcessExecutor, only
paths and expression are passed to the EngineQueryRouter through
QueryExpression.
Therefore, the data type information is lost and needs to get from manager
again, which is a waste.
It's better to pass the full QueryPlan to the EngineQueryRouter for all query
types: raw data query, fill query, group by query, aggregation query.
The QueryExpression is a parameter in the query interface of TsFile, we do not
need to use it in the server, because we could get more information on the
server.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)