@SuppressWarnings("squid:S112")
  default void validate(UDFParameterValidator validator) throws Exception {
    // do nothing
  }
This method is mainly used to validate {@link UDFParameters} and it is executed before {@link
UDTF#beforeStart(UDFParameters, UDTFConfigurations)} is called.

@param validator the validator used to validate {@link UDFParameters}
@throws Exception if any parameter is not valid
iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/UDF.java