DESCRIBE STREAMLIT

Streamlitオブジェクト内の列を説明します。

DESCRIBE は DESC に短縮できます。

こちらもご参照ください。

CREATE STREAMLIT, SHOW STREAMLITS, ALTER STREAMLIT, DROP STREAMLIT

構文

DESC[RIBE] STREAMLIT <name>
Copy

必須パラメーター

name

説明するStreamlitオブジェクトの識別子を指定します。識別子にスペースまたは特殊文字が含まれる場合は、文字列全体を二重引用符で囲む必要があります。二重引用符で囲まれた識別子も大文字と小文字が区別されます。

アクセス制御の要件

ロールが以下の表にあるオブジェクトを所有していない場合、ロールはそれらのオブジェクトに対して次の 権限 を持つ必要があります。

権限

オブジェクト

USAGE

記述するStreamlitオブジェクト

Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent schema.

指定された権限のセットを使用してカスタムロールを作成する手順については、 カスタムロールの作成 をご参照ください。

セキュリティ保護可能なオブジェクト に対して SQL アクションを実行するためのロールと権限付与に関する一般的な情報については、 アクセス制御の概要 をご参照ください。

使用上の注意

  • このコマンドの出力を後処理するには、 パイプ演算子->>)または 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.

出力

コマンド出力は、Streamlitオブジェクトに関する情報を以下の列で提供します。

説明

title

Title of the Streamlit object that displays in Snowsight.

main_file

Name of the Streamlit app's entrypoint file.

query_warehouse

Warehouse where queries issued by the Streamlit app are run.

runtime_name

Runtime environment for the Streamlit app, like SYSTEM$ST_WAREHOUSE_RUNTIME_PY3_11 or SYSTEM$ST_CONTAINER_RUNTIME_PY3_11.

compute_pool

Compute pool where the Streamlit app runs. This is only used for container runtimes and ignored for warehouse runtimes.

url_id

Streamlitオブジェクトに関連付けられた一意の ID。

default_packages

StreamlitアプリケーションのデフォルトPythonパッケージ。

user_packages

Python packages that the user specified in the environment.yml file. This is empty if there is no environment.yml file and doesn't apply to container runtimes.

import_urls

List of URLs that the Streamlit app imports. This doesn't apply to container runtimes.

external_access_integrations

List of external access integrations associated with the Streamlit object.

external_access_secrets

List of external access secrets associated with the Streamlit object.

name

Unique name of the Streamlit object within its schema.

comment

Comment associated with the Streamlit object.

default_version

ライブバージョンがない場合に使用するStreamlitオブジェクトのデフォルトバージョン。アプリにまだライブバージョンがなく、所有者がSnowsightでアプリを開いた場合、このバージョンがライブバージョンにコピーされます。

default_version_name

Name of the default version directory within the Streamlit object's file system.

default_version_alias

サポート対象外で、常にnullです。

default_version_location_uri

デフォルトバージョンのアプリファイルの場所 URI 。これは読み取り専用です。

default_version_source_location_uri

Gitオブジェクト内にある、デフォルトバージョンのソースファイルの場所 URI 。StreamlitオブジェクトがGitオブジェクトに接続されていない場合はnullです。

default_version_git_commit_hash

StreamlitオブジェクトのデフォルトバージョンのGitコミットハッシュ。StreamlitオブジェクトがGitオブジェクトに接続されていない場合はnullです。

last_version_name

Name of the last version directory within the Streamlit object's file system.

last_version_alias

サポート対象外で、常にnullです。

last_version_location_uri

最終バージョンのアプリファイルの場所 URI 。これは読み取り専用です。

last_version_source_location_uri

Gitオブジェクト内にある、最終バージョンのソースファイルの場所 URI 。StreamlitオブジェクトがGitオブジェクトに接続されていない場合はnullです。

last_version_git_commit_hash

Streamlitオブジェクトの最終バージョンのGitコミットハッシュ。StreamlitオブジェクトがGitオブジェクトに接続されていない場合はnullです。

live_version_location_uri

Streamlitオブジェクトのライブバージョンの場所 URI 。この場所は読み書き可能です。Snowsightにおける編集はこの場所に保存されます。この場所にファイルをコピーすることで、ライブアプリをリモートで更新できます。

ROOT_LOCATION パラメーターを使用して作成されたStreamlitオブジェクトの場合、コマンド出力は以下の列の情報を提供します。

説明

name

Unique name of the Streamlit object within its schema.

title

Title of the Stramlit object that displays in Snowsight.

root_location

Streamlitオブジェクトのファイルの場所。

main_file

ルートの場所を基準とした、Streamlitアプリのエントリポイントファイルへのパス。

query_warehouse

Warehouse where queries issued by the Streamlit app are run.

url_id

Streamlitオブジェクトに関連付けられた一意の ID。

default_packages

Default Python packages for the Streamlit app.

user_packages

Python packages that the user specified in the environment.yml file. This is empty if there is no environment.yml file.

import_urls

Streamlitアプリがインポートする URLs のリスト。

external_access_integrations

List of external access integrations associated with the Streamlit object.

external_access_secrets

List of external access secrets associated with the Streamlit object.