Skip to contents

Updates the function that matches the supplied name. Only the owner of the function can be updated. If the user is not a metastore admin, the user must be a member of the group that is the new function owner. - Is a metastore admin - Is the owner of the function's parent catalog - Is the owner of the function's parent schema and has the USE_CATALOG privilege on its parent catalog - Is the owner of the function itself and has the USE_CATALOG privilege on its parent catalog as well as the USE_SCHEMA privilege on the function's parent schema.

Usage

update_function(client, name, owner = NULL)

functionsUpdate(client, name, owner = NULL)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. The fully-qualified name of the function (of the form catalog_name.schema_name.function__name).

owner

Username of current owner of function.