public TSStatus dropFunction(Model model, String functionName) {
    if (udfTable.containsUDF(model, functionName)) {
      existedJarToMD5.remove(udfTable.getUDFInformation(model, functionName).getJarName());
      udfTable.removeUDFInformation(model, functionName);
    }
    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