Commit f5e6b05
[SPARK-49643][SQL] Merge _LEGACY_ERROR_TEMP_2042 into ARITHMETIC_OVERFLOW
### What changes were proposed in this pull request?
Merging related legacy error to its proper class.
### Why are the changes needed?
We want to get remove legacy errors, as they are not properly migrated to the new system of errors. Also, [PR](https://github.com/apache/spark/pull/48206/files#diff-0ffd087e0d4e1618761a42c91b8712fd469e758f4789ca2fafdefff753fe81d5) started getting to big, so this is an effort to split the change needed.
### Does this PR introduce _any_ user-facing change?
Yes, legacy error is now merged into ARITHMETIC_OVERFLOW.
### How was this patch tested?
Existing tests check that the error message stayed the same.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #48496 from mihailom-db/error2042.
Authored-by: Mihailo Milosevic <[email protected]>
Signed-off-by: Max Gekk <[email protected]>1 parent 31a4117 commit f5e6b05
File tree
4 files changed
+2
-17
lines changed- common/utils/src/main/resources/error
- sql/catalyst/src
- main/scala/org/apache/spark/sql
- catalyst/expressions
- errors
- test/scala/org/apache/spark/sql/catalyst/expressions
4 files changed
+2
-17
lines changedLines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6864 | 6864 | | |
6865 | 6865 | | |
6866 | 6866 | | |
6867 | | - | |
6868 | | - | |
6869 | | - | |
6870 | | - | |
6871 | | - | |
6872 | 6867 | | |
6873 | 6868 | | |
6874 | 6869 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| |||
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | 602 | | |
613 | 603 | | |
614 | 604 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments