private static String prepareInsertStatement(int time, String path) {
    // remove device root.sg1
    path = removeDevice(path);
    return String.format("insert into root.sg1(timestamp, %s) values( %d ,1)", path, time);
  }
if you want to create a time series named root.sg1.a, a possible SQL statement would be like:
create timeseries root.sg1.a with datatype=FLOAT, encoding=RLE The path should be written as
"root.sg1.a".
example/jdbc/src/main/java/org/apache/iotdb/SyntaxConventionRelatedExample.java