private void checkWindowSize(long windowSize, ModelInformation modelInformation) {
    if (modelInformation.isBuiltIn()) {
      return;
    }

    if (modelInformation.getInputShape()[0] != windowSize) {
      throw new SemanticException(
          String.format(
              "Window output %d is not equal to input size of model %d",
              windowSize, modelInformation.getInputShape()[0]));
    }
  }
This visitor is used to analyze each type of Statement and returns the {@link Analysis}.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java