datalake_fdw: Builtin catalog
还没有人认领这个 Issue。
评估
调研方向
Start by reading the B2 and B3 dependencies, #2008, and #1683 §4, then inspect src/meta/engine_builtin/ and the engine interface documentation. Use MinIO and the agent to run the DDL and full conformance suite, including rollback and concurrent-writer cases. Done means Spark opens the table by path, rollback preserves HEAD, and only one concurrent writer commits.
由索引模型根据 Issue 内容生成。
描述
Part of #2008. Letters (A, B0–B7, C, D, E) are the PRs listed there; this is B4.
Scope
The type-unset case of #1683 §4: a lake table with no catalog service, only object storage. The first catalog to work end to end, so C and D develop and test against MinIO and the agent alone.
src/meta/engine_builtin/: each table's currentmetadata_locationin an extension-owned table on the coordinator; commit is a conditional update under a row lock inside the transaction — atomic with the statement, and across tables.- Metadata work delegated to B3 by location; the agent holds no state for these tables.
- Other engines open the table by path (HadoopCatalog / FileIO).
- The two commit regimes (builtin: atomic with the transaction; external catalogs: an in-doubt window) written into the engine interface docs.
Out of scope
Sharing a builtin table between two clusters.
Depends on
B2, B3.
Acceptance
- DDL and the full conformance suite green with only MinIO and the agent running; rollback leaves the HEAD unchanged.
- Spark opens the table by path and sees Cloudberry's metadata.
- Two concurrent writers: one commits, the other errors; no lost update.
- 主要语言
- 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 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
apache/cloudberry#1825 ·
-
type: Bug
难度 3/5 1-2 天 新手友好度 65/100
apache/cloudberry#2048 · 1 个 reaction ·
-
type: Bug
难度 4/5 3-5 天 新手友好度 40/100
apache/cloudberry#2047 ·
-
type: Bug
难度 4/5 3-5 天 新手友好度 45/100
apache/cloudberry#2046 · 1 条评论 ·
查看 apache/cloudberry 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
bradcypert/plum#53 ·
-
Component: GLib
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Status: Opened
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
nextbsd/nextbsd-userland#285 ·