删除函数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.

备注

仅当启用了 Hive 支持时,才支持此命令。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.