Commit 0a6fff1
[SPARK-54492][SQL] Rename _LEGACY_ERROR_TEMP_1201 and add sqlState
### What changes were proposed in this pull request?
I rename _LEGACY_ERROR_TEMP_1201 to more understandable name (UNRESOLVED_COLUMN_AMONG_FIELD_NAMES) and add sqlState
### Why are the changes needed?
This is a frequent error that is not classified
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
This is a small refactoring, tests are already there
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #53197 from aleksandr-chernousov-db/le_1201.
Authored-by: Ubuntu <aleksandr.chernousov@your.hostname.com>
Signed-off-by: yangjie01 <yangjie01@baidu.com>1 parent 830ac65 commit 0a6fff1
File tree
2 files changed
+7
-6
lines changed- common/utils/src/main/resources/error
- sql/catalyst/src/main/scala/org/apache/spark/sql/errors
2 files changed
+7
-6
lines changedLines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6284 | 6284 | | |
6285 | 6285 | | |
6286 | 6286 | | |
| 6287 | + | |
| 6288 | + | |
| 6289 | + | |
| 6290 | + | |
| 6291 | + | |
| 6292 | + | |
6287 | 6293 | | |
6288 | 6294 | | |
6289 | 6295 | | |
| |||
8150 | 8156 | | |
8151 | 8157 | | |
8152 | 8158 | | |
8153 | | - | |
8154 | | - | |
8155 | | - | |
8156 | | - | |
8157 | | - | |
8158 | 8159 | | |
8159 | 8160 | | |
8160 | 8161 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2475 | 2475 | | |
2476 | 2476 | | |
2477 | 2477 | | |
2478 | | - | |
| 2478 | + | |
2479 | 2479 | | |
2480 | 2480 | | |
2481 | 2481 | | |
| |||
0 commit comments