default void beforeDestroy() {
    // do nothing
  }
This method is mainly used to release the resources used in the ScalarFunction.
iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/relational/ScalarFunction.java