list_functions: List Functions

View source: R/functions.R

list_functionsR Documentation

List Functions

Description

Returns a list of functions registered in the specified database. This includes all temporary functions. The result contains the class name, database, description, whether it is temporary and the name of each function.

Usage

list_functions(sc, database = NULL)

Arguments

sc

A spark_connection.

database

character(1). The name of the database for which the functions should be listed (default: NULL).

Value

A tibble containing 5 columns:

  • name - Name of the function.

  • database - Name of the database the function belongs to.

  • description - Description of the function.

  • className - The fully qualified class name of the function.

  • isTemporary - Whether the function is temporary or not.

See Also

function_exists(), get_function()

Examples

## Not run: 
sc <- sparklyr::spark_connect(master = "local")
list_functions(sc = sc)
list_functions(sc = sc, database = "default")

## End(Not run)


catalog documentation built on Aug. 23, 2022, 1:07 a.m.