OneSizeFitsQuorum commented on code in PR #12749:
URL: https://github.com/apache/iotdb/pull/12749#discussion_r1643866205


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/StatementGenerator.java:
##########
@@ -510,7 +510,7 @@ public static CreateTimeSeriesStatement 
createStatement(TSCreateTimeseriesReq re
     final long startTime = System.nanoTime();
     // construct create timeseries statement
     CreateTimeSeriesStatement statement = new CreateTimeSeriesStatement();
-    statement.setPath(new PartialPath(req.path));
+    statement.setPath(DEVICE_PATH_CACHE.getPartialPath(req.path));

Review Comment:
   Nice catch! Has reverted



-- 
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]

Reply via email to