Commit b3ba226
authored
### Rationale for this change
Dictionary Arrays with specific type indices caused error
### What changes are included in this PR?
Allows those type indices and add check to ensure no overflow
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
### AI Usage
I used AI to create the changes but manually reviewed myself afterwards
* GitHub Issue: #39603
Authored-by: Nic Crane <thisisnic@gmail.com>
Signed-off-by: Nic Crane <thisisnic@gmail.com>
1 parent f8184d5 commit b3ba226
4 files changed
Lines changed: 36 additions & 12 deletions
File tree
- cpp/src/arrow/util
- r
- src
- tests/testthat
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
241 | 242 | | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
599 | 601 | | |
600 | 602 | | |
601 | 603 | | |
| |||
612 | 614 | | |
613 | 615 | | |
614 | 616 | | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
615 | 627 | | |
616 | 628 | | |
617 | 629 | | |
| |||
653 | 665 | | |
654 | 666 | | |
655 | 667 | | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
656 | 677 | | |
657 | 678 | | |
658 | 679 | | |
| |||
704 | 725 | | |
705 | 726 | | |
706 | 727 | | |
707 | | - | |
| 728 | + | |
| 729 | + | |
708 | 730 | | |
709 | 731 | | |
710 | 732 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | | - | |
1033 | | - | |
| 1032 | + | |
| 1033 | + | |
1034 | 1034 | | |
1035 | 1035 | | |
1036 | 1036 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
| 360 | + | |
| 361 | + | |
364 | 362 | | |
365 | 363 | | |
366 | 364 | | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
| 365 | + | |
371 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
0 commit comments