@Override
  protected IDeviceID toDeviceID(String[] nodes) {
    // remove measurement
    nodes = Arrays.copyOfRange(nodes, 0, nodes.length - 1);
    return super.toDeviceID(nodes);
  }
In specific scenarios, like internal create timeseries, the message can only be passed as
String format.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/MeasurementPath.java