Drops the local temporary view with the given view name in the catalog.
If the view has been cached before, then it will also be uncached.
Returns true if this view is dropped successfully, false otherwise.
New in version 2.0.0.
name of the temporary view to drop.
If the temporary view was successfully dropped or not.
New in version 2.1.0: The return type of this method was None in Spark 2.0, but changed to bool
in Spark 2.1.
>>> spark.createDataFrame([(1, 1)]).createTempView("my_table")
Dropping the temporary view.
Throw an exception if the temporary view does not exists.
Traceback (most recent call last):