SparkR (version 2.4.6)

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

Description

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

Usage

listTables(databaseName = NULL)

Arguments

databaseName

(optional) name of the database

Value

a SparkDataFrame of the list of tables.

See Also

tables

Examples

Run this code
# NOT RUN {
sparkR.session()
listTables()
listTables("default")
# }

Run the code above in your browser using DataLab