Skip to contents

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 The database name can be qualified with catalog name since 3.4.0.

Value

a SparkDataFrame of the list of tables.

Note

since 2.2.0

See also

Examples

if (FALSE) {
sparkR.session()
listTables()
listTables("spark_catalog.default")
}