You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by zy...@apache.org on 2023/07/03 07:35:28 UTC

[iotdb] branch master updated: [To rel/1.2] Fix show paths using template return partition result (#10330) (#10415)

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

zyk 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 331ec8c3f40 [To rel/1.2] Fix show paths using template return partition result (#10330) (#10415)
331ec8c3f40 is described below

commit 331ec8c3f4040bae3b232f84254310937529dac9
Author: Chen YZ <43...@users.noreply.github.com>
AuthorDate: Mon Jul 3 15:35:22 2023 +0800

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

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java
index 85be6a86b4a..98add5a68f6 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java
@@ -3199,7 +3199,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);