GitHub user BryanCutler opened a pull request:

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

    [SPARK-25471][PYTHON][TEST] Fix pyspark-sql test error when using Python 
3.6 and Pandas 0.23

    ## What changes were proposed in this pull request?
    
    Fix test that constructs a Pandas DataFrame by specifying the column order. 
Previously this test assumed the columns would be sorted alphabetically, 
however when using Python 3.6 with Pandas 0.23 or higher, the original column 
order is maintained.
    
    Manually tested with `python/run-tests` using Python 3.6.6 and Pandas 0.23.4


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

    $ git pull https://github.com/BryanCutler/spark 
pyspark-tests-py36-pd23-SPARK-25471

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

    https://github.com/apache/spark/pull/22477.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 #22477
    
----
commit a268250b951a307f216ce4bb6bfd53aa5417bbfa
Author: Bryan Cutler <cutlerb@...>
Date:   2018-09-19T21:35:49Z

    specify column ordering

----


---

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

Reply via email to