知识卡片
Iceberg快照指向清单
Iceberg 的目录定位当前表元数据;表元数据记录快照,快照通过清单列表关联清单文件,清单再描述数据文件。查询按某个快照确定可见文件集合,因此无需仅靠遍历表目录判断表状态。
结构图:
flowchart LR
A[目录] --> B[表元数据]
B --> C[快照]
C --> D[清单列表]
D --> E[清单文件]
E --> F[数据文件]
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Practical Lakehouse Architecture》第3章《Storage: The Heart of the Lakehouse》(源文件:_epub-src/OEBPS/ch03.html)
- 结论依据:原文逐层说明 catalog、metadata、snapshot、manifest list 和 manifest;Apache Iceberg 规范也确认这些引用关系。
- 原始内容:Iceberg catalog gives the table location and points to the latest metadata file. Metadata layer The metadata layer consists of multiple elements: Like the Hive metastore, Iceberg stores the schema details partition information in a metadata file. There is a section in the metadata file known as Snapshot. Each snapshot points to a file known