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 2021/07/26 14:04:19 UTC

[iotdb] 01/01: Fix compile error in assignQueryId(#3628)

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

xiangweiwei pushed a commit to branch fixMasterCompile
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit f307eb2639f024fb61231a4aae5d5004669881ea
Author: Jialin Qiao <qj...@mails.tsinghua.edu.cn>
AuthorDate: Mon Jul 26 09:02:27 2021 -0500

    Fix compile error in assignQueryId(#3628)
---
 .../java/org/apache/iotdb/cluster/query/ClusterQueryRouterTest.java   | 2 +-
 .../org/apache/iotdb/cluster/query/ClusterUDTFQueryExecutorTest.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterQueryRouterTest.java b/cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterQueryRouterTest.java
index c5656d4..c923e55 100644
--- a/cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterQueryRouterTest.java
+++ b/cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterQueryRouterTest.java
@@ -319,7 +319,7 @@ public class ClusterQueryRouterTest extends BaseQueryTest {
     PhysicalPlan plan = processor.parseSQLToPhysicalPlan(sqlStr, ZoneId.systemDefault(), 1024);
     UDTFPlan udtfPlan = (UDTFPlan) plan;
     QueryContext context =
-        new RemoteQueryContext(QueryResourceManager.getInstance().assignQueryId(true, 1024, -1));
+        new RemoteQueryContext(QueryResourceManager.getInstance().assignQueryId(true));
     try {
       QueryDataSet queryDataSet = clusterQueryRouter.udtfQuery(udtfPlan, context);
       for (int i = 0; i < 20; i++) {
diff --git a/cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterUDTFQueryExecutorTest.java b/cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterUDTFQueryExecutorTest.java
index ee91d22..2012966 100644
--- a/cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterUDTFQueryExecutorTest.java
+++ b/cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterUDTFQueryExecutorTest.java
@@ -62,7 +62,7 @@ public class ClusterUDTFQueryExecutorTest extends BaseQueryTest {
     PhysicalPlan plan = processor.parseSQLToPhysicalPlan(sqlStr, ZoneId.systemDefault(), 1024);
     UDTFPlan udtfPlan = (UDTFPlan) plan;
     QueryContext context =
-        new RemoteQueryContext(QueryResourceManager.getInstance().assignQueryId(true, 1024, -1));
+        new RemoteQueryContext(QueryResourceManager.getInstance().assignQueryId(true));
     try {
       executor = new ClusterUDTFQueryExecutor(udtfPlan, testMetaMember);
       QueryDataSet queryDataSet = executor.executeWithoutValueFilterAlignByTime(context);
@@ -82,7 +82,7 @@ public class ClusterUDTFQueryExecutorTest extends BaseQueryTest {
     PhysicalPlan plan = processor.parseSQLToPhysicalPlan(sqlStr, ZoneId.systemDefault(), 1024);
     UDTFPlan udtfPlan = (UDTFPlan) plan;
     QueryContext context =
-        new RemoteQueryContext(QueryResourceManager.getInstance().assignQueryId(true, 1024, -1));
+        new RemoteQueryContext(QueryResourceManager.getInstance().assignQueryId(true));
     try {
       executor = new ClusterUDTFQueryExecutor(udtfPlan, testMetaMember);
       QueryDataSet queryDataSet = executor.executeWithoutValueFilterAlignByTime(context);