Skip to main content
SHOW TABLES displays all tables in a database or a database in an external data source, for example, Hive, Iceberg, Hudi, or Delta Lake.
NOTE To view tables in an external data source, you must have the USAGE privilege on the external catalog that corresponds to that data source.

Syntax

Parameters

Examples

Example 1: View tables in database example_db of the default_catalog after connecting to the cluster. The following two statements are equivalent.
Example 2: View tables in the current database example_db after connecting to this database.
Example 2: View tables in database hudi_db of the external catalog hudi_catalog.
Alternatively, you can run SET CATALOG to switch to the external catalog hudi_catalog and then run SHOW TABLES FROM hudi_db;.

References