Get the Spark Version Associated with a Spark Connection
Retrieve the version of Spark associated with a Spark connection.
spark_version(sc)
sc |
A |
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")
.
The Spark version as a numeric_version
.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.