Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

datalake_fdw: merge-on-read and DML

Open
#2,020 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
c, postgresql, spark
Domain
databases

Research direction

Start with parent issue #2008 and the prerequisite work C and D, then trace WrapPositionDeleteFilter on the hidden row-ordinal column and C's writer. Done means cross-system deletes are visible, UPDATE/DELETE counts and rollback behavior are correct, concurrent commits do not lose updates, and scans remain within the tracked memory budget.

Written by the indexing model from the issue text.

Description

datalake

Part of #2008. Letters (A, B0–B7, C, D, E) are the PRs listed there; this is E.

Scope
  • Merge-on-read: WrapPositionDeleteFilter implemented on the hidden row-ordinal column; position deletes applied while scanning, equality deletes after.
  • DELETE and UPDATE: rows identified by (file, position) through the scan, written as position delete files; UPDATE is delete plus insert through C's writer; one snapshot per statement.
  • A commit that loses the race is retried or fails with a serialization error, never silently dropped.
  • VACUUM stays the current no-op; compaction and snapshot expiry are a follow-up issue.
Out of scope

Copy-on-write, partition evolution, branches and tags (#1683 §2.3).

Depends on

C, D.

Acceptance
  • Deletes made in Cloudberry are seen by Spark and the reverse.
  • UPDATE/DELETE counts match; a rolled-back statement changes nothing visible.
  • Two concurrent transactions on one table: one commits, the other fails or retries; no lost update.
  • A scan over many small delete files stays within the tracked memory budget.
Dominant language
C
Stars
1.4k
Forks
248
Avg merge
3d 18h
Merged PRs (30d)
38

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/cloudberry

All issues in apache/cloudberry

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.