Skip to contents

Returns a list of databases available across all sessions. The result contains the name, description and locationUri of each database.

Usage

list_databases(sc)

Arguments

sc

A spark_connection.

Value

A tibble containing 3 columns:

  • name - The name of the database.

  • description - Description of the database.

  • locationUri - Path (in the form of a uri) to data files.

Examples

if (FALSE) {
sc <- sparklyr::spark_connect(master = "local")
list_databases(sc = sc)
}