DESCRIBE LISTING¶
Describes the columns in a listing.
Syntax¶
{ DESC | DESCRIBE } LISTING <name> [ REVISION = { DRAFT | PUBLISHED } ]
Parameters¶
nameThe 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¶
You can describe a listing only if you use a role that has the USAGE, MODIFY, or OWNERSHIP privilege on the listing.
To post-process the output of this command, you can use the pipe operator (
->>) or the RESULT_SCAN function. Both constructs treat the output as a result set that you can query.For example, you can use the pipe operator or RESULT_SCAN function to select specific columns from the SHOW command output or filter the rows.
When you refer to the output columns, use double-quoted identifiers for the column names. For example, to select the output column
type, specifySELECT "type".You must use double-quoted identifiers because the output column names for SHOW commands are in lowercase. The double quotes ensure that the column names in the SELECT list or WHERE clause match the column names in the SHOW command output that was scanned.
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 |
|
The listing description. |
|
The listing terms. |
|
State of the listing, one of:
|
|
The share identifier for this listing. |
|
The application package associated with the listing. |
|
The business needs the listing satisfies. |
|
An example showing a query of the listing. |
|
The listing’s attributes, including the refresh rate, geographic coverage, and time range. |
|
The listing categories. |
|
Listing resources, such as a documentation link. |
|
The provider’s profile name. |
|
Provider contact information. |
|
Listing metadata. |
|
Preview of the listing data. |
|
Associated comment, if present. |
|
Revision state, for public listings only. |
|
Comma separated list of target accounts. |
|
The listing regions. |
|
The listing refresh frequency in minutes. |
|
The listing refresh type. |
|
The listing review state. |
|
The reason the listing was rejected. |
|
The reason the listing owner didn’t publish the listing. |
|
Is monetized flag. |
|
Is application flag. If |
|
Is targeted flag. |
|
Is limited trial flag. |
|
Is by request flag. |
|
The plan associated with a limited trial listing. |
|
Date and time the listing was retired. Null if not retired. |
|
Date and time the listing is scheduled to be dropped (no longer available to existing consumers). Null if not scheduled. |
|
The entire published manifest when |
|
Distribution details, if present, such as |
|
|
|
The associated organization profile name. |
|
The uniform listing locator (ULL). For more information about ULLs, see Configure organizational listings. |
|
Details associated with trial listings. |
|
Approver contact information. |
|
Support contact information. |
|
Full uniform resource indictor (URI) of the live version of the listing, against which stage operations can be performed. NULL if no live version exists for the listing. |
|
Full URI of the last committed version of the listing. |
|
System-generated name for the last committed version of the listing. |
|
User-specified alias for the last committed version of the listing. |
|
Full URI of the current published version of the listing. |
|
System-generated name of the published version of the listing. |
|
User-specified alias for the last published version of the listing. |
|
Compliance badges associated with this listing, if any. |
|
Is share flag. If |
|
Monetization model that the listing uses. |
|
Listing access request type. The access request type defines how discovery targets of a listing submit access requests to the listing approver. Any one of:
|
|
The order in which pricing plans and offers are displayed to consumers. |
|
Specifies the legacy Uniform Listing Locator (ULL). If an existing organizational listing profile is updated to use a custom organization profile, this column includes the ULL associated with the previous default profile that continues to be valid. If no profile updates have been made, this column is NULL. For more information on ULLs, see Set the Uniform Listing Locator or listing name. |
|
A flag that indicate whether share restrictions exist on external private listings. |
Examples¶
To describe the columns in a listing named MYLISTING, run the following command:
DESC LISTING MYLISTING;