Description Usage Arguments Value Author(s) Examples
View source: R/tidy_connections.R
validate_sc() - Validate spark connection
This will validate a spark connection. If it does not
exists, it will try to safely establish the the connection
and return it. Note, if validate_sc
has to
create the Spark connection it will use the default settings.
1 2 | validate_sc(sc = getOption("gtx.sc", NULL), spark_version = "2.2.0",
app_name = "sparklyr", sc_config = spark_config())
|
sc |
Spark connection to validate. Defaults to checking options(gtx.sc). |
Spark connection
Karsten Sieber karsten.b.sieber@gsk.com
1 2 | sc <- validate_sc(sc)
sc <- validate_sc()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.