DROP STREAMLIT¶
Removes the specified Streamlit object from the current/specified schema.
Syntax¶
DROP STREAMLIT [IF EXISTS] <name>
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
orschema_name.streamlit_name
), the command looks for the Streamlit object in the current schema for the session.
Usage notes¶
For Streamlit objects created using ROOT_LOCATION, 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.
When the
IF EXISTS
clause is specified and the target object doesn’t exist, the command completes successfully without returning an error.