Skip to content

yggdrasil.delta.deletion_vector

deletion_vector

Back-compat shim — DV codec lives at :mod:yggdrasil.io.delta.deletion_vector.

Re-exports the public API plus a few underscore-prefixed helpers the old test suite reaches for (_decode_payload, _MAGIC_SIMPLE, _MAGIC_ROARING_64). New code should import from the canonical module directly.

DeletionVectorDescriptor dataclass

DeletionVectorDescriptor(
    storage_type: str,
    path_or_inline_dv: str,
    size_in_bytes: int,
    cardinality: int = 0,
    offset: Optional[int] = None,
)

Pointer to a deletion-vector blob.

Three storage shapes:

  • "i" — inline (Z85-encoded bytes in pathOrInlineDv).
  • "u" — uuid-based sidecar (deletion_vector_<uuid>.bin).
  • "p" — absolute path (table-relative).