-
- Downloads
[SPARK-8742] [SPARKR] 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 Author: Hossein <hossein@databricks.com> Closes #7742 from falaki/SPARK-8742 and squashes the following commits: 4f643c9 [Hossein] Not logging exceptions in RBackendHandler 4a8005c [Hossein] Returning stack track of causing exception from RBackendHandler 5cf17f0 [Hossein] Adding unit test for error messages from SQLContext 2af75d5 [Hossein] Reading error message in case of failure and stoping with that message f479c99 [Hossein] Wrting exception cause message in JVM
Showing
- R/pkg/R/backend.R 3 additions, 1 deletionR/pkg/R/backend.R
- R/pkg/inst/tests/test_sparkSQL.R 5 additions, 0 deletionsR/pkg/inst/tests/test_sparkSQL.R
- core/src/main/scala/org/apache/spark/api/r/RBackendHandler.scala 8 additions, 2 deletions...c/main/scala/org/apache/spark/api/r/RBackendHandler.scala
Please register or sign in to comment