pyspark.sql.Catalog.listTables

Catalog.listTables(dbName=None)[source]

Returns a list of tables/views in the specified database.

If no database is specified, the current database is used. This includes all temporary views.

New in version 2.0.