Skip to content

Optimize NULL handling in StringViewArrayBuilder #21537

Description

@neilconway

Is your feature request related to a problem or challenge?

StringViewArrayBuilder is implemented on top of Arrow's StringViewBuilder; the latter tracks NULLs incrementally. However, the StringViewArrayBuilder requires callers to pass a NULL buffer to finish() anyway, so the NULL bitmap that has been computed by StringViewBuilder is discarded. It would be more efficient to stop using StringViewBuilder so that we don't do this redundant work; in theory there might be room for inconsistency between the two NULL bitmaps as well.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. neilconway commented on Apr 10, 2026

    @neilconway
    ContributorAuthor

    take

  2. added a commit that references this issue on Apr 14, 2026
    961c5fc
  3. added a commit that references this issue on Apr 21, 2026
    628d838
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions