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

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


The following commit(s) were added to refs/heads/ty/TryOpt by this push:
     new 6b4962313f8 Delete useless methods
6b4962313f8 is described below

commit 6b4962313f8f47b2dcc95366675d080cd027cd97
Author: JackieTien97 <[email protected]>
AuthorDate: Tue Sep 3 16:08:24 2024 +0800

    Delete useless methods
---
 .../db/queryengine/plan/relational/analyzer/Analysis.java      | 10 ----------
 1 file changed, 10 deletions(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/Analysis.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/Analysis.java
index 6250f394cf4..4fca93c199e 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/Analysis.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/Analysis.java
@@ -521,16 +521,6 @@ public class Analysis implements IAnalysis {
     return columnReferences.containsKey(NodeRef.of(expression));
   }
 
-  public boolean hasFieldReference(QualifiedObjectName tableName, String 
fieldName) {
-    for (Map<QualifiedObjectName, Set<String>> map : 
tableColumnReferences.values()) {
-      Set<String> fields = map.get(tableName);
-      if (fields != null && fields.contains(fieldName)) {
-        return true;
-      }
-    }
-    return false;
-  }
-
   public Set<String> getUsedColumns(QualifiedObjectName tableName) {
     for (Map<QualifiedObjectName, Set<String>> map : 
tableColumnReferences.values()) {
       Set<String> fields = map.get(tableName);

Reply via email to