list_tables | R Documentation |
Returns a list of tables/views in the current database. The result includes the name, database, description, table type and whether the table is temporary or not.
list_tables(sc, database = NULL)
sc |
A |
database |
|
A tibble
containing 5 columns:
name
- The name of the table.
database
- Name of the database the table belongs to.
description
- Description of the table.
tableType
- The type of table (e.g. view/table)
isTemporary
- Whether the table is temporary or not.
cache_table()
, create_table()
, get_table()
, refresh_table()
,
table_exists()
, uncache_table()
## Not run: sc <- sparklyr::spark_connect(master = "local") mtcars_spakr <- sparklyr::copy_to(dest = sc, df = mtcars) list_tables(sc = sc) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.