Commit 4d566e6
authored
### Rationale for this change
MakeStatisticsArray in RecordBatch does not support StringView, BinaryView, LargeString, LargeBinary, FixedSizeBinary types.
### What changes are included in this PR?
The correction of MakeStatisticsArray in RecordBatch to support all arrow string types and relevant tests. Additionally, some changes applied to MakeStatisticsArray in record_batch_test.cc
### Are these changes tested?
Yes, I run all relevant unit tests
### Are there any user-facing changes?
Yes. (Add support for `large_utf8`, `large_binary`, `fixed_size_binary`, `StringView`, and `BinaryView` to `RecordBatch::MakeStatisticsArray()`).
* GitHub Issue: #45664
Authored-by: Arash Andishgar <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 520ae44 commit 4d566e6
File tree
4 files changed
+238
-58
lines changed- cpp/src/arrow
- array
- testing
4 files changed
+238
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
556 | 558 | | |
557 | 559 | | |
558 | 560 | | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
559 | 576 | | |
560 | 577 | | |
561 | 578 | | |
| |||
580 | 597 | | |
581 | 598 | | |
582 | 599 | | |
583 | | - | |
| 600 | + | |
584 | 601 | | |
585 | 602 | | |
586 | 603 | | |
| |||
680 | 697 | | |
681 | 698 | | |
682 | 699 | | |
683 | | - | |
684 | | - | |
| 700 | + | |
| 701 | + | |
685 | 702 | | |
686 | 703 | | |
687 | 704 | | |
| |||
0 commit comments