HTHou commented on code in PR #12749:
URL: https://github.com/apache/iotdb/pull/12749#discussion_r1642583182
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/metedata/write/CreateAlignedTimeSeriesNode.java:
##########
@@ -211,7 +212,7 @@ public static CreateAlignedTimeSeriesNode
deserialize(ByteBuffer byteBuffer) {
byte[] bytes = new byte[length];
byteBuffer.get(bytes);
try {
- devicePath = new PartialPath(new String(bytes));
+ devicePath = DataNodeDevicePathCache.getInstance().getPartialPath(new
String(bytes));
Review Comment:
Nice catch!
I think the `CreateAlignedTimeSeriesStatement` in StatementGenerator can
also use it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]