You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2020/03/30 06:07:07 UTC

[incubator-iotdb] branch new_TsFile updated: Change to use duplicated path and datatypes in LastQueryExecutor

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch new_TsFile
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/new_TsFile by this push:
     new b472cf6  Change to use duplicated path and datatypes in LastQueryExecutor
     new 7cd97bc  Merge pull request #957 from wshao08/new_TsFile
b472cf6 is described below

commit b472cf6a2f64f65b852f50959a00ee11d20a0972
Author: wshao08 <ko...@163.com>
AuthorDate: Mon Mar 30 12:42:17 2020 +0800

    Change to use duplicated path and datatypes in LastQueryExecutor
---
 .../java/org/apache/iotdb/db/query/executor/LastQueryExecutor.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/query/executor/LastQueryExecutor.java b/server/src/main/java/org/apache/iotdb/db/query/executor/LastQueryExecutor.java
index c0a9af3..8bbadf2 100644
--- a/server/src/main/java/org/apache/iotdb/db/query/executor/LastQueryExecutor.java
+++ b/server/src/main/java/org/apache/iotdb/db/query/executor/LastQueryExecutor.java
@@ -54,8 +54,8 @@ public class LastQueryExecutor {
   private List<TSDataType> dataTypes;
 
   public LastQueryExecutor(LastQueryPlan lastQueryPlan) {
-    this.selectedSeries = lastQueryPlan.getPaths();
-    this.dataTypes = lastQueryPlan.getDataTypes();
+    this.selectedSeries = lastQueryPlan.getDeduplicatedPaths();
+    this.dataTypes = lastQueryPlan.getDeduplicatedDataTypes();
   }
 
   /**