DESCRIBE STREAMLIT¶
Streamlitオブジェクト内の列を説明します。
DESCRIBE は DESC に短縮できます。
- こちらもご参照ください。
CREATE STREAMLIT, SHOW STREAMLITS, ALTER STREAMLIT, DROP STREAMLIT
構文¶
DESC[RIBE] STREAMLIT <name>
必須パラメーター¶
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, 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.
出力¶
コマンド出力は、Streamlitオブジェクトに関する情報を以下の列で提供します。
列 |
説明 |
|---|---|
|
Title of the Streamlit object that displays in Snowsight. |
|
Name of the Streamlit app's entrypoint file. |
|
Warehouse where queries issued by the Streamlit app are run. |
|
Runtime environment for the Streamlit app, like
|
|
Compute pool where the Streamlit app runs. This is only used for container runtimes and ignored for warehouse runtimes. |
|
Streamlitオブジェクトに関連付けられた一意の ID。 |
|
StreamlitアプリケーションのデフォルトPythonパッケージ。 |
|
Python packages that the user specified in the |
|
List of URLs that the Streamlit app imports. This doesn't apply to container runtimes. |
|
List of external access integrations associated with the Streamlit object. |
|
List of external access secrets associated with the Streamlit object. |
|
Unique name of the Streamlit object within its schema. |
|
Comment associated with the Streamlit object. |
|
ライブバージョンがない場合に使用するStreamlitオブジェクトのデフォルトバージョン。アプリにまだライブバージョンがなく、所有者がSnowsightでアプリを開いた場合、このバージョンがライブバージョンにコピーされます。 |
|
Name of the default version directory within the Streamlit object's file system. |
|
サポート対象外で、常にnullです。 |
|
デフォルトバージョンのアプリファイルの場所 URI 。これは読み取り専用です。 |
|
Gitオブジェクト内にある、デフォルトバージョンのソースファイルの場所 URI 。StreamlitオブジェクトがGitオブジェクトに接続されていない場合はnullです。 |
|
StreamlitオブジェクトのデフォルトバージョンのGitコミットハッシュ。StreamlitオブジェクトがGitオブジェクトに接続されていない場合はnullです。 |
|
Name of the last version directory within the Streamlit object's file system. |
|
サポート対象外で、常にnullです。 |
|
最終バージョンのアプリファイルの場所 URI 。これは読み取り専用です。 |
|
Gitオブジェクト内にある、最終バージョンのソースファイルの場所 URI 。StreamlitオブジェクトがGitオブジェクトに接続されていない場合はnullです。 |
|
Streamlitオブジェクトの最終バージョンのGitコミットハッシュ。StreamlitオブジェクトがGitオブジェクトに接続されていない場合はnullです。 |
|
Streamlitオブジェクトのライブバージョンの場所 URI 。この場所は読み書き可能です。Snowsightにおける編集はこの場所に保存されます。この場所にファイルをコピーすることで、ライブアプリをリモートで更新できます。 |
ROOT_LOCATION パラメーターを使用して作成されたStreamlitオブジェクトの場合、コマンド出力は以下の列の情報を提供します。
列 |
説明 |
|---|---|
|
Unique name of the Streamlit object within its schema. |
|
Title of the Stramlit object that displays in Snowsight. |
|
Streamlitオブジェクトのファイルの場所。 |
|
ルートの場所を基準とした、Streamlitアプリのエントリポイントファイルへのパス。 |
|
Warehouse where queries issued by the Streamlit app are run. |
|
Streamlitオブジェクトに関連付けられた一意の ID。 |
|
Default Python packages for the Streamlit app. |
|
Python packages that the user specified in the |
|
Streamlitアプリがインポートする URLs のリスト。 |
|
List of external access integrations associated with the Streamlit object. |
|
List of external access secrets associated with the Streamlit object. |