setCurrentDatabase: Sets the current default database

Description Usage Arguments Note Examples

View source: R/catalog.R

Description

Sets the current default database.

Usage

1
setCurrentDatabase(databaseName)

Arguments

databaseName

name of the database

Note

since 2.2.0

Examples

1
2
3
4
5
## Not run: 
sparkR.session()
setCurrentDatabase("default")

## End(Not run)

SparkR documentation built on Sept. 2, 2019, 5:05 p.m.