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

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


The following commit(s) were added to refs/heads/authRefactor by this push:
     new 7c5118308f9 fix compile error
7c5118308f9 is described below

commit 7c5118308f9750aa59683b44adfd85fe54a68aac
Author: JackieTien97 <[email protected]>
AuthorDate: Mon Sep 15 11:57:55 2025 +0800

    fix compile error
---
 .../queryengine/plan/relational/security/AllowAllAccessControl.java   | 2 +-
 .../db/queryengine/plan/statement/metadata/ShowDevicesStatement.java  | 4 ----
 .../queryengine/plan/statement/metadata/ShowTimeSeriesStatement.java  | 4 ----
 3 files changed, 1 insertion(+), 9 deletions(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/AllowAllAccessControl.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/AllowAllAccessControl.java
index b98ca183472..f4742b4f01d 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/AllowAllAccessControl.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/AllowAllAccessControl.java
@@ -110,7 +110,7 @@ public class AllowAllAccessControl implements AccessControl 
{
   }
 
   @Override
-  public TSStatus check(Statement statement) {
+  public TSStatus checkPermissionBeforeProcess(Statement statement, String 
userName) {
     return SUCCEED;
   }
 }
diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/ShowDevicesStatement.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/ShowDevicesStatement.java
index 9781ad1643c..75f33c7b4a1 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/ShowDevicesStatement.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/ShowDevicesStatement.java
@@ -19,7 +19,6 @@
 
 package org.apache.iotdb.db.queryengine.plan.statement.metadata;
 
-import org.apache.iotdb.common.rpc.thrift.TSStatus;
 import org.apache.iotdb.commons.path.PartialPath;
 import org.apache.iotdb.commons.schema.filter.SchemaFilter;
 import org.apache.iotdb.db.queryengine.plan.statement.StatementVisitor;
@@ -79,9 +78,6 @@ public class ShowDevicesStatement extends ShowStatement {
     return timeCondition != null;
   }
 
-  @Override
-  public TSStatus checkPermissionBeforeProcess(String userName) {}
-
   @Override
   public <R, C> R accept(StatementVisitor<R, C> visitor, C context) {
     return visitor.visitShowDevices(this, context);
diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/ShowTimeSeriesStatement.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/ShowTimeSeriesStatement.java
index 155e0acad39..82a389d6224 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/ShowTimeSeriesStatement.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/ShowTimeSeriesStatement.java
@@ -19,7 +19,6 @@
 
 package org.apache.iotdb.db.queryengine.plan.statement.metadata;
 
-import org.apache.iotdb.common.rpc.thrift.TSStatus;
 import org.apache.iotdb.commons.path.PartialPath;
 import org.apache.iotdb.commons.schema.filter.SchemaFilter;
 import org.apache.iotdb.db.queryengine.plan.statement.StatementVisitor;
@@ -78,9 +77,6 @@ public class ShowTimeSeriesStatement extends ShowStatement {
     return timeCondition != null;
   }
 
-  @Override
-  public TSStatus checkPermissionBeforeProcess(String userName) {}
-
   @Override
   public List<PartialPath> getPaths() {
     return Collections.singletonList(pathPattern);

Reply via email to