Skip to content

Conversation

@BryanCutler
Copy link
Member

@BryanCutler BryanCutler commented Sep 19, 2018

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. This causes the columns to get mixed up and the test errors.

Manually tested with python/run-tests using Python 3.6.6 and Pandas 0.23.4

@SparkQA
Copy link

SparkQA commented Sep 19, 2018

Test build #96299 has finished for PR 22477 at commit a268250.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@BryanCutler
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Sep 19, 2018

Test build #96306 has finished for PR 22477 at commit a268250.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@BryanCutler
Copy link
Member Author

cc @HyukjinKwon

Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HyukjinKwon
Copy link
Member

Merged to master, branch-2.4 and branch-2.3.

asfgit pushed a commit that referenced this pull request Sep 20, 2018
…hon 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. This causes the columns to get mixed up and the test errors.

Manually tested with `python/run-tests` using Python 3.6.6 and Pandas 0.23.4

Closes #22477 from BryanCutler/pyspark-tests-py36-pd23-SPARK-25471.

Authored-by: Bryan Cutler <[email protected]>
Signed-off-by: hyukjinkwon <[email protected]>
(cherry picked from commit 90e3955)
Signed-off-by: hyukjinkwon <[email protected]>
asfgit pushed a commit that referenced this pull request Sep 20, 2018
…hon 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. This causes the columns to get mixed up and the test errors.

Manually tested with `python/run-tests` using Python 3.6.6 and Pandas 0.23.4

Closes #22477 from BryanCutler/pyspark-tests-py36-pd23-SPARK-25471.

Authored-by: Bryan Cutler <[email protected]>
Signed-off-by: hyukjinkwon <[email protected]>
(cherry picked from commit 90e3955)
Signed-off-by: hyukjinkwon <[email protected]>
@asfgit asfgit closed this in 90e3955 Sep 20, 2018
@BryanCutler
Copy link
Member Author

Thanks @HyukjinKwon !

@BryanCutler BryanCutler deleted the pyspark-tests-py36-pd23-SPARK-25471 branch September 20, 2018 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants