Skip to content
  • Hossein's avatar
    157840d1
    [SPARK-8742] [SPARKR] Improve SparkR error messages for DataFrame API · 157840d1
    Hossein authored
    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
    157840d1
    [SPARK-8742] [SPARKR] Improve SparkR error messages for DataFrame API
    Hossein authored
    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
Loading