pyspark.sql.SparkSession.version#
- property SparkSession.version#
The version of Spark on which this application is running.
New in version 2.0.0.
Changed in version 3.4.0: Supports Spark Connect.
- Returns
- str
the version of Spark in string.
Examples
>>> _ = spark.version