DESCRIBE STREAMLIT¶
Describes the columns in a Streamlit object.
DESCRIBE can be abbreviated to DESC.
- See also:
CREATE STREAMLIT, SHOW STREAMLITS, ALTER STREAMLIT, DROP STREAMLIT
Syntax¶
DESC[RIBE] STREAMLIT <name>
Required parameters¶
nameSpecifies the identifier for the Streamlit object to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
Access control requirements¶
If your role does not own the objects in the following table, then your role must have the listed privileges on those objects:
Privilege |
Object |
|---|---|
USAGE |
Streamlit object that you describe |
The USAGE privilege on the parent database and schema are required to perform operations on any object in a schema. Note that a role granted any privilege on a schema allows that role to resolve the schema. For example, a role granted CREATE privilege on a schema can create objects on that schema without also having USAGE granted on that schema.
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Usage notes¶
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.
Output¶
The command output provides information about a Streamlit object in the following columns:
Column |
Description |
|---|---|
|
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. |
|
Unique ID associated with the Streamlit object. |
|
Default Python packages for the Streamlit application. |
|
Python packages that the user specified in the |
|
List of URLs that the Streamlit app imports. |
|
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. |
|
Default version of the Streamlit object to use when there is no live version. If your app doesn’t already have a live version and the owner opens the app on Snowsight, this is the version that is copied to the live version. |
|
Name of the default version directory within the Streamlit object’s file system. |
|
Unsupported and always null. |
|
Location URI of the default version’s app files. This is read only. |
|
Location URI of the default version’s source files in its Git object. If the Streamlit object is not connected to a Git object, this is null. |
|
Git commit hash of the default version of the Streamlit object. If the Streamlit object is not connected to a Git object, this is null. |
|
Name of the last version directory within the Streamlit object’s file system. |
|
Unsupported and always null. |
|
Location URI of the last version’s app files. This is read only. |
|
Location URI of the last version’s source files in its Git object. If the Streamlit object is not connected to a Git object, this is null. |
|
Git commit hash of the last version of the Streamlit object. If the Streamlit object is not connected to a Git object, this is null. |
|
Location URI of the live version of the Streamlit object. This location is readable and writable. Edits in Snowsight are saved in this location. You can remotely update a live app by copying files to this location. |
For Streamlit objects created using the ROOT_LOCATION parameter, the command output provides information in the following columns:
Column |
Description |
|---|---|
|
Unique name of the Streamlit object within its schema. |
|
Title of the Stramlit object that displays in Snowsight. |
|
Location of the Streamlit object’s files. |
|
Path to the Streamlit app’s entrypoint file, relative to the root location. |
|
Warehouse where queries issued by the Streamlit app are run. |
|
Unique ID associated with the Streamlit object. |
|
Default Python packages for the Streamlit app. |
|
Python packages that the user specified in the |
|
List of URLs that the Streamlit app imports. |
|
List of external access integrations associated with the Streamlit object. |
|
List of external access secrets associated with the Streamlit object. |