ibis.backends.base.BaseConnection.list_tables

abstract BaseConnection.list_tables(like: Optional[str] = None, database: Optional[str] = None)List[str]

List tables in the current (or indicated) database. Like the SHOW TABLES command in the impala-shell.

Parameters
  • like (string, default None) – e.g. ‘foo*’ to match all tables starting with ‘foo’

  • database (string, default None) – If not passed, uses the current/default database

Returns

tables

Return type

list of strings