AGENT SKILL

iceberg-architect

Architect-level open table format design — Iceberg/Delta layout, partition evolution and hidden partitioning, snapshots and time travel, compaction and file sizing, catalog and metadata management, and the read/write engine compatibility that decides whether the format pays off. Use when a lakehouse must be engine-agnostic.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
iceberg-architect
license
MIT
metadata
{ "crusor-path": "data-engineering-architect/storage-architect/iceberg-architect", "crusor-domain": "data-engineering-architect", "crusor-origin": "original", "crusor-sources": "iceberg.apache.org/docs/latest; iceberg.apache.org/docs/latest/spec; delta.io/docs", "crusor-triggers": "iceberg, delta lake, hudi, table format, lakehouse, snapshot, time travel, compaction, manifest, open table format", "crusor-verified-on": "2026-10-30" }
description
Architect-level open table format design — Iceberg/Delta layout, partition evolution and hidden partitioning, snapshots and time travel, compaction and file sizing, catalog and metadata management, and the read/write engine compatibility that decides whether the format pays off. Use when a lakehouse must be engine-agnostic.
compatibility
Apache Iceberg, Delta Lake, Hudi; Spark, Trino, Flink

03 SKILL.md 正文

Iceberg / Open Table Format Architect

An open table format is a metadata layer that turns files into a table. It buys engine independence and time travel; it costs you table maintenance.

When to use

  • Multiple engines (Spark, Trino, Flink, Snowflake, DuckDB) must read the same data.
  • Object storage holds the source of truth, not a proprietary warehouse.
  • You need time travel, schema evolution, or ACID writes on files.

When NOT to use

  • A single warehouse engine already serves everything reliably.
  • Small data (< a few hundred GB) where plain Parquet is fine.

Decision 1 — Format

Format Notes
Iceberg broadest engine support, hidden partitioning, strong evolution
Delta best in the Databricks/Spark ecosystem
Hudi upserts and incremental reads, heavier operational story
  • Choose by the engines you actually run, not by benchmark blogs.
  • Mixing formats in one lake doubles the maintenance burden.

Decision 2 — Partitioning

  • Hidden partitioning: define days(ts) once; queries filter on ts and prune automatically.
  • Partition on the column used in most filters; over-partitioning creates metadata explosion with tiny files.
  • Partition evolution is supported — but rewriting history to a new spec is a migration, not a config change.
  • Prefer fewer, larger partitions plus sort/cluster within files.

Decision 3 — Files and compaction

  • Target 128–512 MB per data file; millions of small files kill planning time and cost.
  • Compaction (rewrite) jobs are mandatory: scheduled, monitored, and budgeted.
  • Sort within files on the filter column to enable data skipping.
  • Delete files (position/equality deletes) accumulate; a reader that handles them slowly is a symptom, not a bug.

Decision 4 — Metadata and catalog

  • Catalog choice matters: REST catalog, Glue, Nessie, Polaris — it holds the pointer to current metadata and is the concurrency authority.
  • Metadata files should be small in number; expire old snapshots on a schedule.
  • Time travel is retention, not free storage — expire snapshots deliberately.
  • Access control is enforced at catalog/table level; file-level ACLs are not a security model on object storage.

Decision 5 — Write path

  • Writers need optimistic concurrency support; two writers to one table without a commit protocol corrupt expectations, not files.
  • Streaming writes create many small files — pair with compaction or use engines that handle it.
  • Schema evolution: adding columns is safe; dropping/renaming needs a migration plan and consumer coordination.
  • Exactly-once claims depend on the engine and sink; test duplicates explicitly.

Failure modes at scale

  • 900k files in one table; every query spends 30 s planning.
  • Iceberg table read by a version of Trino that predates the delete-file support used; wrong results.
  • Snapshots never expired; metadata storage rivals data storage.
  • Two Spark jobs writing the same table with no catalog lock; lost commits.
  • Partitioned by hour over three years; 26k partitions, metadata thrash.

Verification receipts

  1. Format and catalog choice with the engines that must interop.
  2. File-size distribution report before and after compaction.
  3. Time-travel query demonstrating a previous snapshot.
  4. Snapshot expiry job configured with retention policy.
  5. Concurrent-write test proving one commit wins cleanly.

04 同仓库更多 Skills

SriAkhilSJ
SriAkhilSJ/PulseAIRepo

interaction-patterns-architect

Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-system-ops-architect

Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-handoff-architect

Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

content-microcopy-architect

Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

ui-ux-implementation-architect

Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

test-strategy-architect

Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.

★ 0