pyspark.sql.SparkSession.conf

property SparkSession.conf

Runtime configuration interface for Spark.

This is the interface through which the user can get and set all Spark and Hadoop configurations that are relevant to Spark SQL. When getting the value of a config, this defaults to the value set in the underlying SparkContext, if any.

Returns:
pyspark.sql.conf.RuntimeConfig

New in version 2.0: ..