This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch rc/2.0.1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rc/2.0.1 by this push:
new 757064c770c Fixed the CP problem of measurement path in
SRStatementGenerator (#14780)
757064c770c is described below
commit 757064c770c68afc8bfb983d65f9d9bbc2f3da97
Author: Caideyipi <[email protected]>
AuthorDate: Sun Jan 26 10:33:05 2025 +0800
Fixed the CP problem of measurement path in SRStatementGenerator (#14780)
---
.../main/java/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 9c280a2d1e8..ebd9b4f640d 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 class SRStatementGenerator implements
Iterator<Statement>, Iterable<State
@Override
public List<Statement> visitMeasurementMNode(
AbstractMeasurementMNode<?, ? extends IMNode<?>> node, PartialPath
path) {
+ path = new MeasurementPath(path.getNodes());
if (node.isLogicalView()) {
List<Statement> statementList = new ArrayList<>();
final CreateLogicalViewStatement stmt = new
CreateLogicalViewStatement();