pyspark.util.VersionUtils

class pyspark.util.VersionUtils

Provides utility method to determine Spark versions with given input string.

Methods

majorMinorVersion(sparkVersion)

Given a Spark version string, return the (major version number, minor version number).