GitHub user viirya opened a pull request:

    https://github.com/apache/spark/pull/21211

    [SPARK-24131][PYSPARK][Followup] Add majorMinorVersion API to PySpark for 
determining Spark versions

    ## What changes were proposed in this pull request?
    
    More close to Scala API behavior when can't parse input by throwing 
exception. Add tests.
    
    ## How was this patch tested?
    
    Added tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/viirya/spark-1 SPARK-24131-followup

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/21211.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21211
    
----
commit e4b886732d5bb844c66116a4751dc9a92173a928
Author: Liang-Chi Hsieh <viirya@...>
Date:   2018-05-02T05:17:22Z

    Add tests and throw exception when we can't parse input.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to