Define a Spark dependency consisting of a set of custom JARs, Spark packages, and customized dbplyr SQL translation env.
spark_dependency(
jars = NULL,
packages = NULL,
initializer = NULL,
catalog = NULL,
repositories = NULL,
dbplyr_sql_variant = NULL,
...
)
An object of type `spark_dependency`
Character vector of full paths to JAR files.
Character vector of Spark packages names.
Optional callback function called when initializing a connection.
Optional location where extension JAR files can be downloaded for Livy.
Character vector of Spark package repositories.
Customization of dbplyr SQL translation env. Must be a
named list of the following form:
list(
scalar = list(scalar_fn1 = ..., scalar_fn2 = ..., <etc>),
aggregate = list(agg_fn1 = ..., agg_fn2 = ..., <etc>),
window = list(wnd_fn1 = ..., wnd_fn2 = ..., <etc>)
)
See sql_variant for details.
Additional optional arguments.