@Override
  public TSStatus checkPermissionBeforeProcess(String userName) {
    if (AuthorityChecker.SUPER_USER.equals(userName)) {
      return new TSStatus(TSStatusCode.SUCCESS_STATUS.getStatusCode());
    }
    return AuthorityChecker.getTSStatus(
        AuthorityChecker.checkFullPathOrPatternPermission(
            userName, path, PrivilegeType.WRITE_SCHEMA),
        PrivilegeType.WRITE_SCHEMA);
  }
CREATE TIMESERIES statement.

<p>Here is the syntax definition:

<p>CREATE TIMESERIES path [alias] dataType [ENCODING = encodingValue] <br>
[COMPRESSOR = compressorValue] [key=value [key=value]...] <br>
[TAGS(key=value [, key=value]...)] [ATTRIBUTES(key=value [,key=value]...)]
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/metadata/CreateTimeSeriesStatement.java