pyspark.sql.Catalog.listTables

Catalog.listTables(dbName: Optional[str] = None) → List[pyspark.sql.catalog.Table][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.