Skip to content

Avoid temporary Boolean buffers when filtering in BatchCoalescer #11920

Open

Description

@Rich-T-kid

InProgressBooleanArray::copy_rows_by_filter_from currently calls the general filter kernel, materializing temporary value and validity buffers before immediately copying them into the coalescer's builders.

Filter the source bitmaps directly into the builders now that #11867 supports appending packed words to NullBufferBuilder.

The specialized path should preserve sliced bitmap offsets, null filter entries being treated as false, and lazy output validity for inputs without actual nulls.

Follow-up to #11732.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions