Deletes an existing user-defined function (UDF) from a MaxCompute project.
Examples
Two methods are available.
Method 1: Call delete_function() on the entry object
o.delete_function('test_function')
Method 2: Call drop() on the function object
function.drop() # Call the drop() method if the function exists.
Related topics
-
FUNCTION: Create temporary SQL functions that apply only to the current SQL script and are not stored in MaxCompute metadata.
-
CREATE FUNCTION: Create a UDF by calling the
create_function()method. -
DROP FUNCTION: Drop an existing UDF from a MaxCompute project.
-
DESC FUNCTION: View the details of a UDF, including its name, owner, creation time, class name, and resource list.
-
LIST FUNCTIONS: View all UDFs in a MaxCompute project.
-
UPDATE FUNCTION: Update a UDF by calling the
update()method.