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 databaseexample_db of the default_catalog after connecting to the cluster. The following two statements are equivalent.
example_db after connecting to this database.
hudi_db of the external catalog hudi_catalog.
hudi_catalog and then run SHOW TABLES FROM hudi_db;.
References
- SHOW CATALOGS: Views all catalogs in a cluster.
- SHOW DATABASES: Views all databases in the internal catalog or an external catalog.
- SET CATALOG: Switches between catalogs.