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.
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.
Examples
if (FALSE) {
sc <- sparklyr::spark_connect(master = "local")
list_functions(sc = sc)
list_functions(sc = sc, database = "default")
}