Skip to content

chore: Replace stray old-style string builder in substr#22183

Open
neilconway wants to merge 1 commit into
apache:mainfrom
neilconway:neilc/chore-substr-bulk-null-cleanup
Open

chore: Replace stray old-style string builder in substr#22183
neilconway wants to merge 1 commit into
apache:mainfrom
neilconway:neilc/chore-substr-bulk-null-cleanup

Conversation

@neilconway
Copy link
Copy Markdown
Contributor

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.

@neilconway neilconway changed the title chore: Switch over stray old-style string builder in substr chore: Replace stray old-style string builder in substr May 14, 2026
@github-actions github-actions Bot added the functions Changes to functions implementation label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

functions Changes to functions implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant