Get the singleton SQLContext if it exists or create a new one using the given SparkContext.
Get the singleton SQLContext if it exists or create a new one using the given SparkContext. This function can be used to create a singleton SQLContext object that can be shared across the JVM.
This SQLContext object contains utility functions to create a singleton SQLContext instance, or to get the last created SQLContext instance.