Commit b357381
authored
chore: Replace stray old-style string builder in
## Which issue does this PR close?
- N/A
## Rationale for this change
In #21519, we optimized `substr` to use the new bulk-NULL string
builders. That PR neglected to convert over one corner-case code path
(for handling `Utf8` / `LargeUtf8` values larger than 2GB). For
consistency (and a small perf win), this PR converts that case as well.
## What changes are included in this PR?
* Swap Arrow's `StringViewBuilder` for the new `StringViewArrayBuilder`
in `generic_string_substr_copy`
## Are these changes tested?
Yes, covered by existing tests.
## Are there any user-facing changes?
No.substr (#22183)1 parent 7738f74 commit b357381
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
| 430 | + | |
430 | 431 | | |
431 | | - | |
| 432 | + | |
432 | 433 | | |
433 | | - | |
| 434 | + | |
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
| |||
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
445 | | - | |
| 446 | + | |
446 | 447 | | |
447 | 448 | | |
448 | 449 | | |
| |||
0 commit comments