DROP STREAMLIT

Attention

This feature is available to accounts in AWS, Microsoft Azure, and GCP regions. AWS PrivateLink and Azure Private Link are not supported.

Removes the specified Streamlit object from the current/specified schema.

See also:

CREATE STREAMLIT, SHOW STREAMLITS, DESCRIBE STREAMLIT, ALTER STREAMLIT

Syntax

DROP STREAMLIT [IF EXISTS] <name>
Copy

Required parameters

name

Specifies the identifier for the Streamlit object to drop. If the identifier contains spaces, special characters, or mixed-case characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive (e.g. "My Object").

If the Streamlit object identifier is not fully-qualified (in the form of db_name.schema_name.streamlit_name or schema_name.streamlit_name), the command looks for the Streamlit object in the current schema for the session.

Usage notes

  • This command does not drop the underlying stage because the owner of the Streamlit object may not be the owner of the stage. Additionally, multiple Streamlit objects may point to the same stage. If you need to drop the corresponding stage, use the DROP STAGE command.