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:02:54 UTC
[iotdb] branch rel/0.12 updated: Fix compile error in
assignQueryId(#3628)
This is an automated email from the ASF dual-hosted git repository.
xiangweiwei pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.12 by this push:
new 8a1aba5 Fix compile error in assignQueryId(#3628)
8a1aba5 is described below
commit 8a1aba55c68cfd6daa02620c166a19fcb6e9907b
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 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);