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 2020/11/22 04:18:38 UTC

[iotdb] branch master updated: Delete the useless IoTDBConfig instance in Planner (#2095)

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

qiaojialin 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 b7cb27a  Delete the useless IoTDBConfig instance in Planner (#2095)
b7cb27a is described below

commit b7cb27a24f3fdb821035d9d66a34f07be691b09e
Author: Benedict Jin <as...@apache.org>
AuthorDate: Sun Nov 22 12:18:24 2020 +0800

    Delete the useless IoTDBConfig instance in Planner (#2095)
---
 server/src/main/java/org/apache/iotdb/db/qp/Planner.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/qp/Planner.java b/server/src/main/java/org/apache/iotdb/db/qp/Planner.java
index 2640a1f..39dfc43 100644
--- a/server/src/main/java/org/apache/iotdb/db/qp/Planner.java
+++ b/server/src/main/java/org/apache/iotdb/db/qp/Planner.java
@@ -65,7 +65,6 @@ public class Planner {
   @TestOnly
   public PhysicalPlan parseSQLToPhysicalPlan(String sqlStr)
       throws QueryProcessException {
-    IoTDBConfig config = IoTDBDescriptor.getInstance().getConfig();
     return parseSQLToPhysicalPlan(sqlStr, ZoneId.systemDefault(), 1024);
   }