You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hu...@apache.org on 2022/05/31 11:37:43 UTC
[iotdb] 01/03: fix UT
This is an automated email from the ASF dual-hosted git repository.
hui pushed a commit to branch lmh/AlignByDeviceDebug
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit fe064b03bbb7fc5eec30015aaa80d8648123f897
Author: Minghui Liu <li...@foxmail.com>
AuthorDate: Tue May 31 09:23:03 2022 +0800
fix UT
---
.../apache/iotdb/db/mpp/plan/plan/QueryLogicalPlanUtil.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/server/src/test/java/org/apache/iotdb/db/mpp/plan/plan/QueryLogicalPlanUtil.java b/server/src/test/java/org/apache/iotdb/db/mpp/plan/plan/QueryLogicalPlanUtil.java
index f38534b825..b7853c21eb 100644
--- a/server/src/test/java/org/apache/iotdb/db/mpp/plan/plan/QueryLogicalPlanUtil.java
+++ b/server/src/test/java/org/apache/iotdb/db/mpp/plan/plan/QueryLogicalPlanUtil.java
@@ -152,11 +152,6 @@ public class QueryLogicalPlanUtil {
QueryId queryId = new QueryId("test");
List<PlanNode> sourceNodeList = new ArrayList<>();
- sourceNodeList.add(
- new AlignedSeriesScanNode(
- queryId.genPlanNodeId(),
- (AlignedPath) schemaMap.get("root.sg.d2.a"),
- OrderBy.TIMESTAMP_ASC));
sourceNodeList.add(
new SeriesScanNode(
queryId.genPlanNodeId(),
@@ -172,6 +167,11 @@ public class QueryLogicalPlanUtil {
queryId.genPlanNodeId(),
(MeasurementPath) schemaMap.get("root.sg.d2.s4"),
OrderBy.TIMESTAMP_ASC));
+ sourceNodeList.add(
+ new AlignedSeriesScanNode(
+ queryId.genPlanNodeId(),
+ (AlignedPath) schemaMap.get("root.sg.d2.a"),
+ OrderBy.TIMESTAMP_ASC));
TimeJoinNode timeJoinNode =
new TimeJoinNode(queryId.genPlanNodeId(), OrderBy.TIMESTAMP_ASC, sourceNodeList);
OffsetNode offsetNode = new OffsetNode(queryId.genPlanNodeId(), timeJoinNode, 10);