GitHub user falaki opened a pull request:
https://github.com/apache/spark/pull/7742
[SPARKR][SPARK-8742] Improve SparkR error messages for DataFrame API
This patch improves SparkR error message reporting, especially with
DataFrame API. When there is a user error (e.g., malformed SQL query), the
message of the cause is sent back through the RPC and the R client reads it and
returns it back to user.
cc @shivaram
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/falaki/spark SPARK-8742
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7742.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 #7742
----
commit f479c99c616c4a62956e7175e57005ac1c9fc4e9
Author: Hossein <[email protected]>
Date: 2015-07-29T01:05:51Z
Wrting exception cause message in JVM
commit 2af75d5e9e4dfbe1c6a629ff408b6a9998b2b133
Author: Hossein <[email protected]>
Date: 2015-07-29T01:06:21Z
Reading error message in case of failure and stoping with that message
commit 5cf17f0305ed27e45161fec6f62c613f319b9b5b
Author: Hossein <[email protected]>
Date: 2015-07-29T01:06:59Z
Adding unit test for error messages from SQLContext
----
---
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]