From 757064c770c68afc8bfb983d65f9d9bbc2f3da97 Mon Sep 17 00:00:00 2001 From: Caideyipi <87789683+Caideyipi@users.noreply.github.com> Date: Sun, 26 Jan 2025 10:33:05 +0800 Subject: [PATCH] Fixed the CP problem of measurement path in SRStatementGenerator (#14780) --- .../org/apache/iotdb/db/tools/schema/SRStatementGenerator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/schema/SRStatementGenerator.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/schema/SRStatementGenerator.java index 9c280a2d1e84..ebd9b4f640de 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/schema/SRStatementGenerator.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/schema/SRStatementGenerator.java @@ -285,6 +285,7 @@ public List visitDatabaseMNode( @Override public List visitMeasurementMNode( AbstractMeasurementMNode> node, PartialPath path) { + path = new MeasurementPath(path.getNodes()); if (node.isLogicalView()) { List statementList = new ArrayList<>(); final CreateLogicalViewStatement stmt = new CreateLogicalViewStatement();