pyspark.sql.SparkSession.newSession¶
-
SparkSession.newSession()[source]¶ Returns a new
SparkSessionas new session, that has separate SQLConf, registered temporary views and UDFs, but sharedSparkContextand table cache.New in version 2.0.
SparkSession.newSession()[source]¶Returns a new SparkSession as new session, that has separate SQLConf,
registered temporary views and UDFs, but shared SparkContext and
table cache.
New in version 2.0.