DESCRIBE LISTING¶
Describes the columns in a listing.
DESCRIBE can be abbreviated to DESC.
Syntax¶
{ DESC | DESCRIBE } LISTING <name> [ REVISION = { DRAFT | PUBLISHED } ]
Parameters¶
name
Specifies the identifier, specified when the listing was created, for the listing to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
See SHOW LISTINGS for listing details, including listing name.
REVISION = { DRAFT | PUBLISHED }
Specifies which revision to display.
For example, If you have a draft of a published listing, you can specify either the draft or published version to display.
- Valid values:
DRAFT
: Describe the draft version of the listing.PUBLISHED
: Describe the published version of the listing.
- Default:
PUBLISHED
Usage notes¶
To DESCRIBE a listing, you must be using a role that has one of USAGE, MODIFY, or OWNERSHIP privilege on the listing.
To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried.
Output¶
The command output provides listing properties and metadata in the following columns:
Column |
Description |
|
Global name of the listing |
|
Name specified when the listing was created. |
|
The listing owner. |
|
The listing owner role type. |
|
Date and time the listing was created. |
|
Date and time the listing was last updated. |
|
Date and time the listing was last published. |
|
Title specified in the listing manifest |
|
Sub title specified in the listing manifest |
|
Listing description. |
|
Comma separated list of target accounts. |
|
Is monetized flag. |
|
Is application flag. If |
|
Is targeted flag. |
|
State of the listing, one of:
|
|
Revision state, for public listings only. |
|
Associated comment, if present. |
|
The listing refresh frequency in minutes. |
|
The listing refresh type. |
|
The business needs the listing satisfies. |
|
The listing use case. |
|
The listing terms. |
|
Provider profile name as specified in the listing manifest. |
|
Provider contact information. |
|
The application package associated with the listing. |
|
Listing metadata. |
|
The listing regions. |
|
The entire published manifest when |
|
The listing review state. |
|
The reason the listing was rejected. |
|
The listing categories. |
|
The listing resources. |
|
The reason the listing owner didn’t publish the listing. |
Examples¶
Describe the columns in the listing named MYLISTING
:
DESC LISTING MYLISTING;
+------------------------------+---------------------+------------------+---------------------+--------------------------------------+--------------------------------------+--------------------------------------+----------------------------------------------------------------+----------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+---------------------+------------------+--------------------+-----------------+---------------+---------------------+-------------+----------------------+-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+-------------------------+--------------------------------------------------+-----------------------------+----------------------+------------------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------------------------------------------------+------------------+----------------------+----------------+-----------------------------------------------------------------------------------------------------------------+---------------------------------+
| global_name | name | owner | owner_role_type | created_on | updated_on | published_on | title | subtitle | description | target_accounts | is_monetized | is_application | is_targeted | state | revisions | comment | refresh_schedule | refresh_type | business_needs | usage_examples | listing_terms | profile | customized_contact_info | application_package | data_dictionary | regions | manifest_yaml | review_state | rejection_reason | categories | resources | unpublished_by_admin_reason |
+------------------------------+---------------------+------------------+---------------------+--------------------------------------+--------------------------------------+--------------------------------------+----------------------------------------------------------------+----------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+---------------------+------------------+--------------------+-----------------+---------------+---------------------+-------------+----------------------+-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+-------------------------+--------------------------------------------------+-----------------------------+----------------------+------------------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------------------------------------------------+------------------+----------------------+----------------+-----------------------------------------------------------------------------------------------------------------+---------------------------------+
| GZ13Z1VEWNG | CDC_COVID_19_DATA | ACCOUNTADMIN | ROLE | 2023-12-01T13:01:13.367-08:00 | 2023-12-01T13:25:11.331-08:00 | 2023-12-01T13:25:11.331-08:00 | Understanding COVID-19: Explore the Latest Data from the CDC | Track cases, deaths, vaccination rates, and more | Get the most up-to-date information on the COVID-19 pandemic from the Centers for Disease Control and Prevention (CDC). | | false | false | false | PUBLISHED | DRAFT,PUBLISHED | | 60 MINUTE | FULL_DATABASE | [{""type"":""CUSTOM"",""name"":""Public Health Monitoring and Response"",""description"":""Monitor trends in cases, deaths, and other key metrics.""}] | [{""title"":""Identify potential outbreaks of COVID-19 in [country name] by tracking trends in confirmed cases" | {"type":"STANDARD"} | RAVENCLAW_9A314599_F644_4664_946B_4DE0B2169C28 | | | {""database"":""COVIDDATADB"",""objects"":[{""schema"":""PUBLIC"",""domain"":""TABLE"",""name"":""GLOBAL_COVID_STATISTICS""}]}" | ALL | title: "Understanding COVID-19: Explore the Latest Data from the CDC" . . . | | | HEALTH | "{""documentation"":""https://snowflake.com/doc"",""media"":""https://www.youtube.com/watch?v=AR88dZG-hwo""}" | |
+------------------------------+---------------------+------------------+---------------------+--------------------------------------+--------------------------------------+--------------------------------------+----------------------------------------------------------------+----------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+---------------------+------------------+--------------------+-----------------+---------------+---------------------+-------------+----------------------+-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+-------------------------+--------------------------------------------------+-----------------------------+----------------------+------------------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------------------------------------------------+------------------+----------------------+----------------+-----------------------------------------------------------------------------------------------------------------+---------------------------------+