DESCRIBE APPLICATION PACKAGE

显示有关应用程序包的信息。

DESCRIBE 可以缩写为 DESC。

另请参阅:

ALTER APPLICATION PACKAGECREATE APPLICATION PACKAGEDROP APPLICATION PACKAGESHOW APPLICATION PACKAGES

语法

DESC[RIBE] APPLICATION PACKAGE <name>
Copy

参数

name

指定要描述的应用程序包的 标识符

输出

该命令在以下列显示应用程序包的属性:

描述

property

应用程序包属性的名称。此列可以包含下表中列出的属性。

value

分配给应用程序包的属性的值。

应用程序包的 property 列可以包括以下属性:

属性

描述

name

应用程序包的名称。

created_on

应应用程序包的创建时间戳。

distribution

应用程序包的分发方式。有效值为 INTERNALEXTERNAL

multiple_instances

指示是否允许在单个账户中安装应用程序包的多个实例。有效值为 TRUEFALSE

uses_container_services

指示应用程序包是否使用 Snowpark Container Services。有效值为 TRUEFALSE

comment

应用程序包的描述。

owner

应用程序包的所有者。

release-channels

指示是否启用了应用程序包的发布渠道。有效值为 ENABLEDDISABLED

listing_auto_refresh

指示是否为应用程序包启用了 Cross-Cloud Auto-Fulfillment。有效值为 TRUEFALSE

使用说明

  • 要对该命令的输出进行后处理,可以使用 管道运算符 (->>) 或 RESULT_SCAN 函数。这两种构造都将输出视为可以查询的结果集。

    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, specify SELECT "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.

示例

描述应用程序包的属性:

DESC APPLICATION PACKAGE hello_snowflake_app;
Copy
+------------------------------------+-------------------------------+
| property                           | value                         |
|------------------------------------+-------------------------------|
| name                               | hello_snowflake_app_package   |
| created_on                         | 2025-07-14 14:29:56.927 -0700 |
| distribution                       | INTERNAL                      |
| multiple_instances                 | FALSE                         |
| uses_container_services            | FALSE                         |
| comment                            | My awesome app                |
| owner                              | APP_DEV_ROLE                  |
| release_channels                   | ENABLED                       |
| listing_auto_refresh               | DISABLED                      |
+------------------------------------+-------------------------------+
语言: 中文