Skip to content
Snippets Groups Projects
Commit af726cd6 authored by Sean Owen's avatar Sean Owen Committed by Xiao Li
Browse files

[SPARK-20459][SQL] JdbcUtils throws IllegalStateException: Cause already...

[SPARK-20459][SQL] JdbcUtils throws IllegalStateException: Cause already initialized after getting SQLException

## What changes were proposed in this pull request?

Avoid failing to initCause on JDBC exception with cause initialized to null

## How was this patch tested?

Existing tests

Author: Sean Owen <sowen@cloudera.com>

Closes #17800 from srowen/SPARK-20459.
parent 2b2dd08e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment