This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch rc/1.3.5 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 82c4225ccab267dd09f8833d68e1960576d30b0a Author: JackieTien97 <[email protected]> AuthorDate: Wed Sep 3 15:01:20 2025 +0800 resolve compilation error, cp partial from [to dev/1.3] Using PatternTreeMap to cache mod entries in ReadChunkCompactionPerformer --- .../src/main/java/org/apache/iotdb/commons/path/PartialPath.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java index ceec1f17c4e..27b6ba94d66 100644 --- a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java +++ b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java @@ -202,6 +202,15 @@ public class PartialPath extends Path implements Comparable<Path>, Cloneable { return new PartialPath(newPathNodes); } + public MeasurementPath concatAsMeasurementPath(String measurement) { + int len = nodes.length; + String[] newNodes = Arrays.copyOf(nodes, nodes.length + 1); + newNodes[len] = measurement; + MeasurementPath measurementPath = new MeasurementPath(newNodes); + measurementPath.device = this.device; + return measurementPath; + } + public String[] getNodes() { return nodes; }
