DROP TRANSFORM FUNCTION
Drops a user-defined transform function (UDTF) from the Vertica catalog.
Drops a user-defined transform function (UDTF) from the Vertica catalog.
Syntax
DROP TRANSFORM FUNCTION [ IF EXISTS ] [[database.]schema.]function( [ arg-list ] )
Parameters
IF EXISTS- Specifies not to report an error if the function to drop does not exist. Use this clause in SQL scripts to avoid errors on dropping non-existent objects before attempting to create them.
[database.]schemaDatabase and schema. The default schema is
public. If you specify a database, it must be the current database.function- Specifies the transform function to drop.
arg-listA comma-delimited list of arguments as defined for this function when it was created, specified as follows:
[arg-name]arg-type[,...]where
arg-nameoptionally qualifiesarg-type:-
arg-nameis typically a column name. -
arg-typeis the name of an SQL data type supported by Vertica.
Note
You can omitarg-listwhen dropping a polymorphic function.-
Privileges
One of the following:
- Superuser
-
Schema or function owner
Examples
The following command drops the tokenize UDTF in the macros schema:
=> DROP TRANSFORM FUNCTION macros.tokenize(varchar);
DROP TRANSFORM FUNCTION
The following command drops the Pagerank polymorphic function in the online schema:
=> DROP TRANSFORM FUNCTION online.Pagerank();
DROP TRANSFORM FUNCTION