class_docstr: A variant of Spark SQL that integrates with data stored in Hive.
  
  Configuration for Hive is read from ``hive-site.xml`` on the classpath.
  It supports running both SQL and HiveQL commands.
  
  .. deprecated:: 2.0.0
      Use SparkSession.builder.enableHiveSupport().getOrCreate().
  
  Parameters
  ----------
  sparkContext : :class:`SparkContext`
      The SparkContext to wrap.
  jhiveContext : optional
      An optional JVM Scala HiveContext. If set, we do not instantiate a new
      :class:`HiveContext` in the JVM, instead we make all calls to this object.
      This is only for internal use.
class_docstr_tok: ["A","variant","of","Spark","SQL","that","integrates","with","data","stored","in","Hive",".","Configuration","for","Hive","is","read","from","``","hive-site.xml","``","on","the","classpath",".","It","supports","running","both","SQL","and","HiveQL","commands",".","..","deprecated",":",":","2.0.0","Use","SparkSession.builder.enableHiveSupport","(",")",".getOrCreate","(",")",".","Parameters","--","--","--","--","--","sparkContext",":",":","class",":","`","SparkContext","`","The","SparkContext","to","wrap",".","jhiveContext",":","optional","An","optional","JVM","Scala","HiveContext",".","If","set",",","we","do","not","instantiate","a","new",":","class",":","`","HiveContext","`","in","the","JVM",",","instead","we","make","all","calls","to","this","object",".","This","is","only","for","internal","use","."]
code: def _get_or_create(
      cls: Type["SQLContext"], sc: SparkContext, **static_conf: Any
  ) -> "SQLContext":
      return SQLContext._get_or_create(sc, **HiveContext._static_conf)
  
imports: import sys
  import warnings
  from typing import Optional, Union, Callable, Any, Iterable, List, Tuple, overload, Type, ClassVar, TYPE_CHECKING, cast
  from py4j.java_gateway import JavaObject
  from pyspark import _NoValue
  from pyspark._globals import _NoValueType
  from pyspark.sql.session import _monkey_patch_RDD, SparkSession
  from pyspark.sql.dataframe import DataFrame
  from pyspark.sql.readwriter import DataFrameReader
  from pyspark.sql.streaming import DataStreamReader
  from pyspark.sql.udf import UDFRegistration
  from pyspark.sql.udtf import UDTFRegistration
  from pyspark.errors.exceptions.captured import install_exception_handler
  from pyspark.context import SparkContext
  from pyspark.rdd import RDD
  from pyspark.sql.types import AtomicType, DataType, StructType
  from pyspark.sql.streaming import StreamingQueryManager
label_desc: Use image node_id 2 for calling the HiveContext obj's underlying member method code with example usage: obj._get_or_create(cls, sc) and returns: SQLContext