class_docstr: User-facing catalog API, accessible through `SparkSession.catalog`.
  
  This is a thin wrapper around its Scala implementation org.apache.spark.sql.catalog.Catalog.
  
  .. versionchanged:: 3.4.0
      Supports Spark Connect.
class_docstr_tok: ["User-facing","catalog","API",",","accessible","through","`","SparkSession.catalog","`",".","This","is","a","thin","wrapper","around","its","Scala","implementation","org.apache.spark.sql.catalog.Catalog",".","..","versionchanged",":",":","3.4.0","Supports","Spark","Connect","."]
docstr: Drops the global temporary view with the given view name in the catalog.
  
  .. versionadded:: 2.1.0
  
  Parameters
  ----------
  viewName : str
      name of the global view to drop.
  
  Returns
  -------
  bool
      If the global view was successfully dropped or not.
  
  Notes
  -----
  If the view has been cached before, then it will also be uncached.
  
  Examples
  --------
  >>> spark.createDataFrame([(1, 1)]).createGlobalTempView("my_table")
  
  Dropping the global view.
  
  >>> spark.catalog.dropGlobalTempView("my_table")
  True
  
  Throw an exception if the global view does not exists.
  
  >>> spark.table("global_temp.my_table")
  Traceback (most recent call last):
      ...
  AnalysisException: ...
docstr_tok: ["Drops","the","global","temporary","view","with","the","given","view","name","in","the","catalog",".","..","versionadded",":",":","2.1.0","Parameters","--","--","--","--","--","viewName",":","str","name","of","the","global","view","to","drop",".","Returns","--","--","--","-","bool","If","the","global","view","was","successfully","dropped","or","not",".","Notes","--","--","-","If","the","view","has","been","cached","before",",","then","it","will","also","be","uncached",".","Examples","--","--","--","--",">",">",">","spark.createDataFrame","(","[","(","1",",","1",")","]",")",".createGlobalTempView","(","``","my_table","''",")","Dropping","the","global","view",".",">",">",">","spark.catalog.dropGlobalTempView","(","``","my_table","''",")","True","Throw","an","exception","if","the","global","view","does","not","exists",".",">",">",">","spark.table","(","``","global_temp.my_table","''",")","Traceback","(","most","recent","call","last",")",":","...","AnalysisException",":","..."]
code: def dropGlobalTempView(self, viewName: str) -> bool:
      """Drops the global temporary view with the given view name in the catalog.
  
      .. versionadded:: 2.1.0
  
      Parameters
      ----------
      viewName : str
          name of the global view to drop.
  
      Returns
      -------
      bool
          If the global view was successfully dropped or not.
  
      Notes
      -----
      If the view has been cached before, then it will also be uncached.
  
      Examples
      --------
      >>> spark.createDataFrame([(1, 1)]).createGlobalTempView("my_table")
  
      Dropping the global view.
  
      >>> spark.catalog.dropGlobalTempView("my_table")
      True
  
      Throw an exception if the global view does not exists.
  
      >>> spark.table("global_temp.my_table")
      Traceback (most recent call last):
          ...
      AnalysisException: ...
      """
      return self._jcatalog.dropGlobalTempView(viewName)
  
imports: import sys
  import warnings
  from typing import Any, Callable, NamedTuple, List, Optional, TYPE_CHECKING
  from pyspark.errors import PySparkTypeError
  from pyspark.storagelevel import StorageLevel
  from pyspark.sql.dataframe import DataFrame
  from pyspark.sql.session import SparkSession
  from pyspark.sql.types import StructType
label_desc: Use image node_id 20 for calling the Catalog obj's underlying member method code with example usage: obj.dropGlobalTempView(viewName) and returns: self