GitHub user huaxingao opened a pull request:
https://github.com/apache/spark/pull/21159
[SPARK-24057][PYTHON]put the real data type in the AssertionError message
## What changes were proposed in this pull request?
Print out the data type in the AssertionError message to make it more
meaningful.
## How was this patch tested?
I manually tested the changed code on my local, but didn't add any test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/huaxingao/spark spark-24057
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21159.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 #21159
commit 04b7cd9d546519d453777b4f04490852b528af3c
Author: Huaxin Gao
Date: 2018-04-25T21:00:29Z
[SPARK-24057][PYTHON]put the real data type in the AssertionError message
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org