SHOW RELEASE DIRECTIVES

statementsupportedNative apps, listings & sharing

docs.snowflake.com ↗

Lists the release directives defined for an application package. The output returns metadata and properties for the release directives in an application package, ordered lexicographically by name. This is important to note if you want to filter the results using the provided filters. The Snowflake Native App Framework is generally available on supported cloud platforms. For additional information, see Support for private connectivity, VPS, and government regions.

Syntax

supportedpartialnot supportednot scored

SHOW RELEASE DIRECTIVES [ LIKE '<pattern>' ]
  IN APPLICATION PACKAGE <name>
  [ FOR RELEASE CHANNEL <release_channel> ]

Parameters

NameRequiredDescription
nameSpecifies the identifier of the application package.
LIKE 'pattern'Optionally filters the command output by the version name specified in the application package. The filter uses case-insensitive pattern matching, with support for SQL wildcard characters (% and _). For example, the following patterns return the same results: ... LIKE '%v1%' ... ... LIKE '%V1%' ... Default: No value (no filtering is applied to the output).
FOR RELEASE CHANNEL release_channelReturns only the release directives defined for the specified release channels.

Usage notes

Output

The command output provides release directive properties and metadata in the following columns: Column | Description name | Specifies the name of the release directive. For the default release directive, the name is DEFAULT. target_type | Specifies the type of target for the directive. The following values are possible: DEFAULT ACCOUNT target_name | Specifies the name of the organization or account. The value for the default release directive is always NULL. created_on | Specifies the timestamp when the release directive was created. version | Specifies the application version literal if applicable; if not, the value is NULL. patch | Specifies the patch number of the application version if applicable; if not, the value is NULL. modified_on | Specifies the timestamp when the release directive was last modified or NULL if it hasn’t been modified. active_regions | Specifies the list of Snowflake regions where the release directive is allowed to affect upgrades. This value is ignored when RELEASE_STATUS is HOLDING. pending_regions | Specifies the list of Snowflake regions where the release directive will be applied in the future. Upgrade progress in active regions is monitored for a period before new regions are activated. release_status | Specifies the current release status. The following values are possible: IN_PROGRESS: Upgrades are proceeding in the listed ACTIVE_REGIONS. HOLDING: Upgrades are temporarily suspended. DEPLOYED: Upgrades are permitted in all regions where the app is installed. deployed_on | Specifies the time and date the release directive was deployed. When too many target regions are identified as unhealthy during deployment, the release directive temporarily moves to HOLDING. release_channel | Specifies the release channel the release directive belongs to. upgrade_in_maintenance_window | TRUE if the upgrade is configured to respect consumer maintenance windows, otherwise FALSE. upgrade_deadline | The deadline by which the upgrade must be completed. After this time, the system automatically upgrades the application regardless of the consumer’s maintenance policy.

See also

Referenced by