Commit 82b4ad2
[SPARK-46393][SQL][FOLLOWUP] Classify exceptions in JDBCTableCatalog.loadTable
### What changes were proposed in this pull request?
This is a followup of apache#44335 , which missed to handle `loadTable`
### Why are the changes needed?
better error message
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
existing test
### Was this patch authored or co-authored using generative AI tooling?
no
Closes apache#46905 from cloud-fan/jdbc.
Authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Kent Yao <[email protected]>1 parent 56b9b13 commit 82b4ad2
File tree
2 files changed
+13
-5
lines changed- common/utils/src/main/resources/error
- sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/jdbc
2 files changed
+13
-5
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1255 | 1255 | | |
1256 | 1256 | | |
1257 | 1257 | | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
1258 | 1263 | | |
1259 | 1264 | | |
1260 | 1265 | | |
| |||
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
135 | 142 | | |
136 | 143 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
0 commit comments