You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2022/05/31 04:01:07 UTC
[iotdb] branch master updated: [IOTDB-3341] Fix timeseries id is not right while doing last query (#6082)
This is an automated email from the ASF dual-hosted git repository.
xingtanzjr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 48256e44f3 [IOTDB-3341] Fix timeseries id is not right while doing last query (#6082)
48256e44f3 is described below
commit 48256e44f35f0f1ec07a108a501eab933580e408
Author: Jackie Tien <ja...@gmail.com>
AuthorDate: Tue May 31 12:01:03 2022 +0800
[IOTDB-3341] Fix timeseries id is not right while doing last query (#6082)
---
.../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;
}
}