public TSStatus updateFunction(UpdateFunctionPlan req) {
    UDFInformation udfInformation = req.getUdfInformation();
    udfTable.addUDFInformation(udfInformation.getFunctionName(), udfInformation);
    return new TSStatus(TSStatusCode.SUCCESS_STATUS.getStatusCode());
  }
Validate whether the UDF can be dropped.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/UDFInfo.java