set_current_database {catalog} | R Documentation |
Set The Current Database
Description
Sets the current default database in this session.
Usage
set_current_database(sc, name)
Arguments
sc |
A |
name |
|
Value
If successful, TRUE
, otherwise errors.
See Also
current_database()
, database_exists()
, list_databases()
Examples
## Not run:
sc <- sparklyr::spark_connect(master = "local")
set_current_database(sc = sc, name = "new_db")
## End(Not run)
[Package catalog version 0.1.1 Index]