Skip to content

Add a Mumbling bitmap writer for v4 manifest deletion vectors #1194

Backlog

Description

@xndai

The Mumbling bitmap reader landed in #1126 (#1125). Writing v4 tables also needs the write side. When a commit deletes or replaces entries of a leaf manifest in place, the writer sets their positions in manifest_info.dv and in tracking.deleted_positions or tracking.replaced_positions, all encoded as Mumbling bitmaps (a draft spec, apache/iceberg#16518). This is part of #1107.

Proposal: add an internal MutableMumblingBitmap that matches Java's MutableBitmap (apache/iceberg#18138). It sets positions, merges an existing bitmap, and serializes to the same bytes as the Java writer. It would live next to the reader in the internal header. Using it in the v4 manifest writer would be a follow-up.

Activity

  1. manuzhang commented on Dec 1, 2026

    @manuzhang
    Member

    Has the community formally adopted the mumbling bitmap spec in v4?

  2. wgtmac commented on Dec 2, 2026

    @wgtmac
    Member

    Has the community formally adopted the mumbling bitmap spec in v4?

    I think our primary goal for v4 is to keep pace with the Java implementation even if that feature is not yet formally voted.

  3. xndai commented on Dec 2, 2026

    @xndai
    ContributorAuthor

    Has the community formally adopted the mumbling bitmap spec in v4?

    I think our primary goal for v4 is to keep pace with the Java implementation even if that feature is not yet formally voted.

    Yes, agree. This is a draft as I linked in the original PR message. Given that Java and C++ already implemented reader, and I think we should just go ahead and do the writer. It would help testing as well.

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