datalake_fdw: merge-on-read and DML
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
Part of #2008. Letters (A, B0–B7, C, D, E) are the PRs listed there; this is E.
Scope
- Merge-on-read:
WrapPositionDeleteFilterimplemented on the hidden row-ordinal column; position deletes applied while scanning, equality deletes after. DELETEandUPDATE: rows identified by (file, position) through the scan, written as position delete files;UPDATEis 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.
VACUUMstays 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/DELETEcounts 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.
- 主要语言
- C
- 星标
- 1.4k
- 派生
- 248
- 平均合并
- 4 天 10 小时
- 30 天内合并 PR
- 40
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/cloudberry 的其他 Issue
-
type: Bug
难度 2/5 1-3 小时 新手友好度 76/100
apache/cloudberry#1885 · 2 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
apache/cloudberry#1825 ·
维护者通常 1 天内回复
-
type: Bug
难度 3/5 1-2 天 新手友好度 65/100
apache/cloudberry#2048 · 1 个 reaction ·
维护者通常 1 天内回复
-
type: Bug
难度 4/5 3-5 天 新手友好度 40/100
apache/cloudberry#2047 ·
维护者通常 1 天内回复
-
type: Bug
难度 4/5 3-5 天 新手友好度 45/100
apache/cloudberry#2046 · 1 条评论 ·
维护者通常 1 天内回复
查看 apache/cloudberry 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
libretro/libretro-common#233 ·
-
area:lint-tooling bug
难度 2/5 1-3 小时 新手友好度 88/100
InauguralSystems/EigenScript#1340 ·
维护者通常 1 天内回复
-
[Bug]: chunk_span_bounds and _validated_chunk_spans reject Pydantic models ChunkSpan and AudioFile未关闭
难度 2/5 1-3 小时 新手友好度 78/100
BasedHardware/omi#19047 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100