Drop Function

Important

This documentation has been retired and might not be updated. The product, service, or technology mentioned in this content is no longer supported. See DROP FUNCTION.

DROP [TEMPORARY] FUNCTION [IF EXISTS] [db_name.]function_name

Drop an existing function. If the function to drop does not exist, an exception is thrown.

Note

This command is supported only when Hive support is enabled.

TEMPORARY

Whether to function to drop is a temporary function.

IF EXISTS

If the function to drop does not exist, nothing happens.