listTables: Returns a list of tables or views in the specified database

Description Usage Arguments Value Note See Also Examples

View source: R/catalog.R

Description

Returns a list of tables or views in the specified database. This includes all temporary views.

Usage

1
listTables(databaseName = NULL)

Arguments

databaseName

(optional) name of the database

Value

a SparkDataFrame of the list of tables.

Note

since 2.2.0

See Also

tables

Examples

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

## End(Not run)

SparkR documentation built on June 3, 2021, 5:05 p.m.