Skip to content

feat: introduce basic deletion vector support#110

Merged
JingsongLi merged 2 commits into
apache:mainfrom
luoyuxia:introduce-dv
Mar 9, 2026
Merged

feat: introduce basic deletion vector support#110
JingsongLi merged 2 commits into
apache:mainfrom
luoyuxia:introduce-dv

Conversation

@luoyuxia

@luoyuxia luoyuxia commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #109

Brief change log

Tests

API and Format

Documentation

Comment thread crates/paimon/Cargo.toml Outdated
apache-avro = { version = "0.17", features = ["snappy"] }
indexmap = "2.5.0"
roaring = "0.10"
crc32fast = "1.4"

@XiaoHongbo-Hope XiaoHongbo-Hope Mar 8, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems no usage in current diff.

pub fn is_deleted(&self, row_position: u64) -> bool {
// RoaringBitmap32 in Java supports up to 2^31-1, so we check u32 range
if row_position > u32::MAX as u64 {
return false;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paimon java throw exception here

@luoyuxia luoyuxia closed this Mar 8, 2026
@luoyuxia luoyuxia reopened this Mar 8, 2026
@luoyuxia

luoyuxia commented Mar 8, 2026

Copy link
Copy Markdown
Contributor Author

@XiaoHongbo-Hope Thanks for reviewing. Comments has been addressed.

@XiaoHongbo-Hope

Copy link
Copy Markdown
Contributor

+1

1 similar comment
@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi JingsongLi merged commit 832804b into apache:main Mar 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

introduce deletion vector

3 participants