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

zyk pushed a commit to branch rel/1.2
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/1.2 by this push:
     new 3a97de850dc [To rel/1.2] Fix show paths using template return 
partition result (#10330)
3a97de850dc is described below

commit 3a97de850dc8f2c5767218cd0651ae947e914304
Author: Chen YZ <[email protected]>
AuthorDate: Tue Jun 27 09:04:54 2023 +0800

    [To rel/1.2] Fix show paths using template return partition result (#10330)
---
 .../main/java/org/apache/iotdb/db/mpp/plan/analyze/AnalyzeVisitor.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/AnalyzeVisitor.java 
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/AnalyzeVisitor.java
index a64c1b173dc..e5be94c33b3 100644
--- 
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/AnalyzeVisitor.java
+++ 
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/AnalyzeVisitor.java
@@ -3157,7 +3157,7 @@ public class AnalyzeVisitor extends 
StatementVisitor<Analysis, MPPQueryContext>
 
     analysis.setSpecifiedTemplateRelatedPathPatternList(specifiedPatternList);
 
-    SchemaPartition partition = 
partitionFetcher.getOrCreateSchemaPartition(patternTree);
+    SchemaPartition partition = 
partitionFetcher.getSchemaPartition(patternTree);
     analysis.setSchemaPartitionInfo(partition);
     if (partition.isEmpty()) {
       analysis.setFinishQueryAfterAnalyze(true);

Reply via email to