Skip to contents

Gets a function from within a parent catalog and schema. For the fetch to succeed, the user must satisfy one of the following requirements: - Is a metastore admin - Is an owner of the function's parent catalog - Have the USE_CATALOG privilege on the function's parent catalog and be the owner of the function - Have the USE_CATALOG privilege on the function's parent catalog, the USE_SCHEMA privilege on the function's parent schema, and the EXECUTE privilege on the function itself

Usage

get_function(client, name, include_browse = NULL)

functionsGet(client, name, include_browse = 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).

include_browse

Whether to include functions in the response for which the principal can only access selective metadata for.