DESCRIBE ENTITY

Syntax

DESCRIBE Entity entity_name
[ IN STORE store_name ];

Description

This command describes an entity in a Data Store.

Entities is visible only if the current Role has USAGE privileges on the store.

Arguments

entity_name

This is the name of the entity to describe. If the name is case-sensitive, you must wrap it in double quotes; otherwise, the lowercase name is used.

IN STORE store_name

Optionally, describe an entity in a specific store. If the name is case-sensitive, you must wrap it in double quotes; otherwise, the lowercase name is used.

Examples

Describe an entity in the current Kafka store

The following describes the pageviews entity in the current Kafka store demostore:

The entity provides the Kafka topic-specific information and the Key/Value Descriptor defining the serialization format of both the key and value portions of a Kafka record.

Describe an entity in a specific Kinesis store

The following describes the InterestCount entity in the Amazon Kinesis store kinesis_main:

The entity provides the Kinesis stream specific information and a Descriptor defining the serialization format of the Kinesis records.

Describe an entity with descriptors

The following describes the pv_pb entity in the Kafka Store called KafkaStore2. This entity's native format is ProtoBuf and the Key and Value descriptors assigned to it allow serialization to/from this format:

Describe a Snowflake database

Describe a Snowflake table

Describe a Databricks catalog

Describe a Databricks schema

Describe a Databricks table

Describe a Postgresql schema

Describe a Postgresql table

Last updated