pyflink.table.catalog.Catalog.list_tables#
- Catalog.list_tables(database_name: str) List[str] [source]#
Get names of all tables and views under this database. An empty list is returned if none exists.
- Parameters
database_name – Name of the given database.
- Returns
A list of the names of all tables and views in this database.
- Raise
CatalogException in case of any runtime exception. DatabaseNotExistException if the database does not exist.