GitHub user lababidi opened a pull request:
https://github.com/apache/spark/pull/9149
Modified _verify_type() to be more informative on Errors by presenting the
Object
The _verify_type() function had Errors that were raised when there were
Type conversion issues but left out the Object in question. The Object is now
added in the Error to reduce the strain on the user to debug through to figure
out the Object that failed the Type conversion.
The use case for me was a Pandas DataFrame that contained 'nan' as values
for columns of Strings.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lababidi/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9149.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 #9149
----
commit af4553b0bc098e9f47813e611605c969978ffbd0
Author: Mahmoud Lababidi <[email protected]>
Date: 2015-08-10T19:31:59Z
Fixed AtmoicReference<> Example
commit 32787c8a2b2e085aca33e22e456c5723a94d4153
Author: Mahmoud Lababidi <[email protected]>
Date: 2015-10-16T15:47:37Z
Modified _verify_type() to be more informative on Errors by presenting the
Object in question
commit e6c7a2a89b226bba13e12a5d7b18a810acf47360
Author: Mahmoud Lababidi <[email protected]>
Date: 2015-10-16T15:49:31Z
Merge branch 'master' of github.com:apache/spark
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]