Skip to content

Optimize NULL handling for string concatentation #21534

Description

@neilconway

Is your feature request related to a problem or challenge?

When concatenating (||) two Utf8Views, for every row we check two Options and build the NULL bitmap incrementally. It would probably be faster to build the NULL bitmap in bulk, which would mean checking a single bitmap per row instead of examining both Options. Annoyingly, StringViewBuilder doesn't have a way to use a precomputed null bitmap, so we still need to build the null bitmap itself incrementally.

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 10, 2026
    0626ca3
  3. added a commit that references this issue on Apr 21, 2026
    ba1d91c
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