pyspark.sql.SQLContext.newSession#

SQLContext.newSession()[source]#

Returns a new SQLContext as new session, that has separate SQLConf, registered temporary views and UDFs, but shared SparkContext and table cache.

Added in version 1.6.0.