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 2022/05/31 00:41:42 UTC
[iotdb] branch IOTDB-3341 created (now 10beb843da)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch IOTDB-3341
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at 10beb843da [IOTDB-3341] Fix timeseries id is not right while doing last query
This branch includes the following new commits:
new 10beb843da [IOTDB-3341] Fix timeseries id is not right while doing last query
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: [IOTDB-3341] Fix timeseries id is not right while doing last query
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch IOTDB-3341
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 10beb843da6915d00f7eb433b2b34ddc15ab8158
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Tue May 31 08:41:13 2022 +0800
[IOTDB-3341] Fix timeseries id is not right while doing last query
---
.../org/apache/iotdb/db/mpp/plan/planner/LocalExecutionPlanner.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/LocalExecutionPlanner.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/LocalExecutionPlanner.java
index b5ee12fd41..73f89cf160 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/LocalExecutionPlanner.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/LocalExecutionPlanner.java
@@ -1110,8 +1110,7 @@ public class LocalExecutionPlanner {
return null;
}
} else { // cached last value is satisfied, put it into LastCacheScanOperator
- context.addCachedLastValue(
- timeValuePair, node.getPlanNodeId(), node.getSeriesPath().getFullPath());
+ context.addCachedLastValue(timeValuePair, node.getPlanNodeId(), seriesPath.getFullPath());
return null;
}
}
@@ -1179,8 +1178,7 @@ public class LocalExecutionPlanner {
return null;
}
} else { // cached last value is satisfied, put it into LastCacheScanOperator
- context.addCachedLastValue(
- timeValuePair, node.getPlanNodeId(), node.getSeriesPath().getFullPath());
+ context.addCachedLastValue(timeValuePair, node.getPlanNodeId(), seriesPath.getFullPath());
return null;
}
}