pyspark.util.
VersionUtils
Provides utility method to determine Spark versions with given input string.
Methods
majorMinorVersion(sparkVersion)
majorMinorVersion
Given a Spark version string, return the (major version number, minor version number).