Commit a797a14
committed
Implement better enum error handling following issue 9424 approach
- Add ErrDataTruncatedForColumnAtRow error type
- Convert ErrConvertingToEnum to proper error with row number
- Track row numbers in insert iterator for accurate error reporting
- Update test expectations to use new error format
- INSERT IGNORE functionality now works correctly for enum conversion
Based on successful solution from issue 9424 PR #30741 parent b609745 commit a797a14
File tree
3 files changed
+5
-2
lines changed- enginetest/queries
- sql
- rowexec
- types
3 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2836 | 2836 | | |
2837 | 2837 | | |
2838 | 2838 | | |
2839 | | - | |
| 2839 | + | |
2840 | 2840 | | |
2841 | 2841 | | |
2842 | 2842 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments