[Feature] Support 64-bit deletion vectors in Paimon C++

Open
#325 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
databases

Research direction

Start by tracing deletion-vector handling through include/paimon/defs.h and DeletionVector::Read, then inspect BitmapDeletionVector and its RoaringBitmap32 read/write path. Compare the existing bitmap32 behavior with the bitmap64 magic number and the Java Paimon properties described in the issue. Done means Paimon C++ can read Java-produced bitmap64 deletion vectors and produce Iceberg-compatible ones.

Written by the indexing model from the issue text.

Description

enhancement
Search before asking
  • I searched in the issues and found nothing similar.
Motivation
Motivation

Java Paimon supports both 32-bit and 64-bit deletion vectors through:

deletion-vectors.enabled=true
deletion-vectors.bitmap64=true

Paimon C++ currently exposes the deletion-vectors.bitmap64 option, but bitmap64 deletion vectors are not implemented:
- include/paimon/defs.h marks bitmap64 DV as unsupported.
- DeletionVector::Read recognizes the bitmap64 magic number but returns NotImplemented.
- Only BitmapDeletionVector, backed by RoaringBitmap32, is currently used for deletion-vector reads and writes.
As a result, Paimon C++ cannot read tables containing bitmap64 deletion vectors produced by Java Paimon, and cannot produce Iceberg-compatible deletion vectors.


### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [x] I'm willing to submit a PR!
Dominant language
C++
Stars
65
Forks
29
Avg merge
2d 30m
Merged PRs (30d)
77

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/paimon-cpp

All issues in apache/paimon-cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.