pyspark.sql.SparkSession.newSession¶
-
SparkSession.newSession() → pyspark.sql.session.SparkSession¶ Returns a new
SparkSessionas new session, that has separate SQLConf, registered temporary views and UDFs, but sharedSparkContextand table cache.