iceberg
Skill39 starsChanged 4 months agoMITView on GitHub
Design, migrate, tune, and maintain Apache Iceberg tables across query engines. Use for Iceberg schema and partition evolution, v2 to v3 upgrades, catalog selection, time travel and rollback, row-level deletes, snapshot expiry, orphan file cleanup, small-file compaction, or slow queries and metadata bloat on a lakehouse table. Covers Spark, Flink, Trino, Athena, Snowflake, REST catalogs, Polaris, Nessie, Glue, and Hive.
- Deletes or force-pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- hellohelen-ai/icebergtheir own version, first seen Sep 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- hellohelen-ai/iceberg★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 45
Treat a v2 to v3 upgrade as a compatibility event, not a property edit.
- Distinctive: line 46
Use hidden partitioning and transform functions rather than exposing physical partition columns to users.
- Distinctive: line 50
Prefer deletion vectors over positional delete files where the engine supports them.
- Distinctive: line 68
Do not run maintenance against a production table without knowing every engine that writes to it.
- Very specific: line 73
After compaction, re-read files and report file count and average size before and after, plus a row count showing data is unchanged.
- Distinctive: line 75
After snapshot expiry, report the snapshots remaining and confirm the oldest retained snapshot still satisfies the stated time-travel …
- Very specific: line 77
After partition evolution, read partitions to confirm new writes land in the new spec while existing data stays readable.
- Distinctive: line 79
After a v3 upgrade, run a read from every engine that touches the table.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Apache Iceberg Expert
Scope
Iceberg table design, engine integration, catalog choice, schema and partition evolution, time travel, row-level operations, and maintenance.
For Flink job architecture use the flink skill, for Paimon streaming ingestion
use paimon, and for Fluss hot storage use fluss. This skill applies to the
Iceberg table those systems read or write, not to the engine itself.
Current Facts
- Current Apache Iceberg project release: 1.11.0, released May 19, 2026.
- Format versions: v1, v2, and v3 are complete and adopted by the Iceberg community.
- Format v2: production baseline for row-level deletes and broad engine compatibility.
- Format v3: adds nanosecond timestamp types,
variant, geometry/geography, unknown type, default values, multi-argument transforms, row lineage, binary deletion vectors, and table encryption keys. - Format v4: under active development and not formally adopted. The spec now names it "Metadata Structure and Representation", headlined by relative locations in metadata.
- Polaris: Apache Polaris graduated to a Top-Level Project in February 2026 and is a vendor-neutral Iceberg REST catalog implementation. Current release 1.6.0, July 9, 2026.
- Engine v3 support is uneven. Check the specific engine and the specific feature. Snowflake reached v3 GA on May 7, 2026, though external-engine writes through the Horizon REST Catalog are not yet supported. AWS has been GA since November 2025 but only for deletion vectors and row lineage, only on Spark-based services such as EMR 7.12+, Glue, and S3 Tables. Amazon Athena does not support v3. Do not describe v3 support as universally pending, and do not describe it as universal either.
Inspect First
Establish before recommending or changing anything:
- Engine and version, and catalog type. Behaviour varies across Spark, Flink, Trino, Athena, Snowflake, REST, Glue, Hive, Nessie, and Polaris.
- Current format version, from the table's
format-versionproperty. - For maintenance work, read the
snapshots,manifests,files, andpartitionsmetadata tables. Get snapshot count and age, manifest count, delete file and deletion vector counts, and the actual file size distribution rather than assuming a small-file problem. - Which other engines and jobs write to the table.
Decision Rules
- Choose v2 for maximum compatibility. Choose v3 only when every engine that reads or writes the table supports the v3 features you need.
- Treat a v2 to v3 upgrade as a compatibility event, not a property edit.
- Use hidden partitioning and transform functions rather than exposing physical partition columns to users.
- Match partition transforms to real query predicates. Over-partitioning inflates metadata and slows planning more often than it speeds scans.
- Prefer deletion vectors over positional delete files where the engine supports them; merge-on-read cost scales with delete file count.
- Compact after streaming or high-frequency writes, driven by the observed file size distribution rather than a schedule alone.
Safety
expire_snapshotspermanently deletes data files unreachable from retained snapshots. Before running it, confirm the retention window against rollback, audit, and time-travel requirements, state how many snapshots will be dropped, and get confirmation for a production table.remove_orphan_filesdeletes files not referenced by metadata, and files being written by in-flight jobs look exactly like orphans. Keepolder_thancomfortably longer than the longest-running writer. The Spark procedure defaults to three days for this reason; do not lower it to reclaim space without first confirming no writers are active.DROP TABLEsemantics differ by catalog. Some purge data, some only remove the catalog entry. Confirm which applies before running it.- Do not run maintenance against a production table without knowing every engine that writes to it.
Verify
- After compaction, re-read
filesand report file count and average size before and after, plus a row count showing data is unchanged. - After snapshot expiry, report the snapshots remaining and confirm the oldest retained snapshot still satisfies the stated time-travel requirement.
- After partition evolution, read
partitionsto confirm new writes land in the new spec while existing data stays readable. - After a v3 upgrade, run a read from every engine that touches the table.
- Report the engine and version you validated with, and name any engine you could not test.
Update Checklist
- Recheck Apache Iceberg releases before changing library/runtime versions.
- Recheck the spec page before changing format-version wording.
- Recheck engine-specific v3 support before making upgrade recommendations.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

