snowflake.snowpark.catalog.Catalog.drop_view¶
- Catalog.drop_view(view: Union[str, View], *, database: Optional[Union[str, DatabaseModel]] = None, schema: Optional[Union[str, SchemaModel]] = None) None[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.42.0/src/snowflake/snowpark/catalog.py#L653-L672)¶
- Drop the given view in the given database and schema. If database or schema are not provided, drop the view in the current database and schema. - Parameters:
- view – view name or - Viewobject.
- database – database name or - Databaseobject. Defaults to None.
- schema – schema name or - Schemaobject. Defaults to None.