DESCRIBE APPLICATION¶
显示有关 Snowflake Native App 的信息。
DESCRIBE 可以缩写为 DESC。
- 另请参阅:
ALTER APPLICATION PACKAGE、CREATE APPLICATION PACKAGE、DROP APPLICATION PACKAGE、SHOW APPLICATION PACKAGES,
语法¶
DESC[RIBE] APPLICATION <name>
参数¶
name指定要描述的应用程序的 标识符。
输出¶
该命令在以下列中显示应用程序的属性:
列 |
描述 |
|---|---|
|
应用程序属性的名称。此列可以包含下表中列出的属性。 |
|
分配给应用程序属性的值。 |
property 列可以包含应用程序的以下属性:
属性 |
描述 |
|---|---|
|
应用程序的名称。 |
|
包含用于创建应用程序的应用程序包的账户的组织名称。 |
|
用于创建应用程序的应用程序包的账户。 |
|
用于创建应用程序的源。有效值为 |
|
用于创建应用程序的应用程序包或列表的名称。 |
|
应用程序的版本标识符。 |
|
应用程序的版本标签。此标签在使用者安装 Snowflake Native App 时对其可见。 |
|
应用程序的补丁号。 |
|
应用程序创建时的时间戳。 |
|
应用程序上次升级的时间戳。 |
|
表示已为该应用程序启用了受限呼叫者权限。有关更多信息,请参阅 将受限调用方权限授予应用程序中的可执行文件:。 |
|
指示是否为应用程序启用 日志记录和事件共享。 |
|
|
|
提供商在清单文件中定义的日志级别。 |
|
提供商在清单文件中定义的跟踪级别。 |
|
提供商在清单文件中定义的指标级别。 |
|
提供商在清单文件中定义的审计日志级别。 |
|
为应用程序程序启用的日志级别。 |
|
为应用程序启用的当前跟踪级别。 |
|
为应用程序启用的当前指标级别。 |
|
为应用程序启用的当前审计日志级别。 |
|
指示应用程序是否是使用调试模式创建的。 |
|
表示是否已禁用提供商数据的编辑。 |
|
应用程序的后台安装或升级的当前状态。有效值为:
|
|
应用程序要升级到的版本标识符。 |
|
应用程序要升级到的补丁。 |
|
指示是否尝试对应用程序进行升级。 |
|
升级尝试的内部任务标识符。 |
|
启动升级时的时间戳。 |
|
上次应用程序安装或重试尝试的时间戳。 |
|
升级失败的原因。可能的值:
|
|
升级失败的原因(如果适用)。 |
|
表示提供商已安排在此时开始升级。但应用程序可能会在此日期和时间之前升级。有关更多信息,请参阅 手动升级应用程序。 |
|
如果为 此功能目前处于预览阶段。 |
|
应用程序先前版本的标识符。 |
|
已安装应用程序的上一个补丁号。 |
|
应用程序先前版本的状态。 |
|
提供有关应用程序的信息的文本。 |
|
一个包含禁用应用程序原因的数组。有关更多信息,请参阅 可能会禁用应用程序的原因。 |
|
版本频道的类型。有效值为 |
使用说明¶
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.The output column names for this command are generated in lowercase. If you consume a result set from this command with the pipe operator or the RESULT_SCAN function, use double-quoted identifiers for the column names in the query to ensure that they match the column names in the output that was scanned. For example, if the name of an output column is
type, then specify"type"for the identifier.
示例¶
描述应用程序的属性:
DESC APPLICATION hello_snowflake_app;
+------------------------------------+-------------------------------+
| property | value |
|------------------------------------+-------------------------------|
| name | hello_snowflake_app |
| source_organization | my_organization |
| source_account | provider_account |
| source_type | APPLICATION PACKAGE |
| source | hello_snowflake_package |
| version | v1_0 |
| version_label | NULL |
| patch | 0 |
| created_on | 2024-05-25 08:30:41.520 -0700 |
| last_upgraded_on | |
| share_events_with_provider | FALSE |
| authorize_telemetry_event_sharing | FALSE |
| log_level | OFF |
| trace_level | OFF |
| debug_mode | FALSE |
| upgrade_state | COMPLETE |
| upgrade_target_version | NULL |
| upgrade_target_patch | 0 |
| upgrade_attempt | NULL |
| upgrade_task_id | NULL |
| upgrade_started_on | |
| upgrade_attempted_on | |
| upgrade_failure_type | NULL |
| upgrade_failure_reason | NULL |
| previous_version | NULL |
| previous_patch | 0 |
| previous_version_state | COMPLETE |
| comment | |
+------------------------------------+-------------------------------+