Skip to content

Add an RLE column codec behind the storage interface #8

Description

@Maniarasan-zuper

Add an RLE column codec behind the storage interface.

Columns are stored raw native-width. Add run-length encoding as an optional per-column codec (ideal for low-cardinality / sorted columns), decoded lazily on scan. This is the on-ramp to the compression roadmap item.

Where

  • v2/src/storage.* (the column read/write path). Keep the existing scan/zone-map interface unchanged so exec.cpp doesn't need to care.

Acceptance criteria

  • A table with an RLE column returns identical results to a raw column (bench2 check).
  • Report the on-disk size delta in the PR (this is a perf change → before/after numbers required per CONTRIBUTING).

See CONTRIBUTING.md and comment here to claim it.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions