LIST ENTITIES
Syntax
[ LIST | SHOW ] ENTITIES
[IN fully_qualified_entity_name]
[IN STORE store_name];Description
This command creates a new entity supported by a store. You can then use the entity to host relations created through DDL or query.
This command lists entities that are present under the entity name specified by fully_qualified_entity_name. If fully_qualified_entity_name is not provided, the system returns the entities under the root namespace.
Entities are listed only if the current role has USAGE privileges on the store.
Note: For stores with a large number of entities, this command limit the list to 1000 entities.
Arguments
IN fully_qualified_entity_name
Optionally, this lists entities under the provided entity name. Otherwise, the system returns the root entities.
IN STORE store_name
Optionally, this lists the entities in the specified store. By default, the system uses the current session's store.
Examples
List Kafka topics in the current store
The following lists the entities in the current store:
List Snowflake databases
List Snowflake schemas in a database
List Snowflake tables in a schema
List Databricks catalogs
List Databricks schemas in a catalog
List Databricks tables in a schema
List schemas in a Postgresql store
List Postgresql tables in a schema
List Snowflake databases in a specific store
Last updated

