Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21211#discussion_r185397331
  
    --- Diff: python/pyspark/util.py ---
    @@ -62,24 +62,28 @@ def _get_argspec(f):
         return argspec
     
     
    -def majorMinorVersion(version):
    +class VersionUtils(object):
         """
    -    Get major and minor version numbers for given Spark version string.
    -
    -    >>> version = "2.4.0"
    -    >>> majorMinorVersion(version)
    -    (2, 4)
    +    Provides utility method to determine Spark versions with given input 
string.
    +    """
    +    @staticmethod
    +    def majorMinorVersion(version):
    --- End diff --
    
    `version` -> `sparkVersion`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to