DROP FUNCTION
No matter UDF or UDAF, you can remove the function via DROP FUNCTION
Example:
DROP FUNCTION test_add_five_5;
Drop a function forcely
If the UDF or UDAF is used in other queries, you can force to drop it.
DROP FUNCTION test_udf SETTINGS force=true
This new setting is available since Timeplus Enterprise v2.5.12. Please recreate the UDF or UDAF before running the queries that depend on it.