You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2021/07/26 13:18:24 UTC
[iotdb] 01/01: fix compile
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch fix_0.12_compile
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 34ac586858ea73cfb21b75a09b802c7c58976d00
Author: qiaojialin <64...@qq.com>
AuthorDate: Mon Jul 26 21:17:44 2021 +0800
fix compile
---
.../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 b4ad0ff..771f49e 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);