Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/21153#discussion_r185159691 --- Diff: python/pyspark/util.py --- @@ -61,6 +62,26 @@ def _get_argspec(f): return argspec +def majorMinorVersion(version): --- End diff -- > Also, shall we make this match the Scala API? Do you mean to throw exception when unable to parse Spark version?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org