R/spark_version.R
spark_version.Rd
Retrieve the version of Spark associated with a Spark connection.
spark_version(sc)
A spark_connection.
spark_connection
The Spark version as a numeric_version.
numeric_version
Suffixes for e.g. preview versions, or snapshotted versions, are trimmed – if you require the full Spark version, you can retrieve it with invoke(spark_context(sc), "version").
invoke(spark_context(sc), "version")