private void handleException(Exception e, String statementString) throws SemanticException {
    LOGGER.warn("Auto create or verify schema error.", e);
    throw new SemanticException(
        String.format(
            "Auto create or verify schema error when executing statement %s.  Detail: %s.",
            statementString, e.getMessage()));
  }
This can only be invoked after all timeseries in the current tsfile have been processed.
Otherwise, the isAligned status may be wrong.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/TreeSchemaAutoCreatorAndVerifier.java