aboutsummaryrefslogtreecommitdiff
path: root/scalastyle-config.xml
diff options
context:
space:
mode:
authorDavies Liu <davies@databricks.com>2016-08-23 09:45:13 -0700
committerDavies Liu <davies.liu@gmail.com>2016-08-23 09:45:13 -0700
commit9afdfc94f49395e69a7959e881c19d787ce00c3e (patch)
treeaccb57cb5c65614c2ccddefa7e06e7a6c8bc0b45 /scalastyle-config.xml
parent97d461b75badbfa323d7f1508b20600ea189bb95 (diff)
downloadspark-9afdfc94f49395e69a7959e881c19d787ce00c3e.tar.gz
spark-9afdfc94f49395e69a7959e881c19d787ce00c3e.tar.bz2
spark-9afdfc94f49395e69a7959e881c19d787ce00c3e.zip
[SPARK-13286] [SQL] add the next expression of SQLException as cause
## What changes were proposed in this pull request? Some JDBC driver (for example PostgreSQL) does not use the underlying exception as cause, but have another APIs (getNextException) to access that, so it it's included in the error logging, making us hard to find the root cause, especially in batch mode. This PR will pull out the next exception and add it as cause (if it's different) or suppressed (if there is another different cause). ## How was this patch tested? Can't reproduce this on the default JDBC driver, so did not add a regression test. Author: Davies Liu <davies@databricks.com> Closes #14722 from davies/keep_cause.
Diffstat (limited to 'scalastyle-config.xml')
0 files changed, 0 insertions, 0 deletions