Get the function with the specified name.
Arguments
- sc
A
spark_connection
.- fn
character(1)
. The name of the function.- database
character(1)
. The name of the database for which the functions should be listed (default:NULL
).
Value
A spark_jobj
which includes the class name, database, description, whether
it is temporary and the name of the function.
Details
If you are trying to get an in-built function then use the unqualified name
and pass NULL
as the database
name.
Examples
if (FALSE) {
sc <- sparklyr::spark_connect(master = "local")
get_function(sc = sc, fn = "Not")
}