Command Palette

Search for a command to run...

Назад к скиллам
скилл № 95676

data-data-lake

Use when the user asks to choose between Iceberg, Delta Lake and Hudi, ACID tables on object storage, time travel, schema evolution, compaction, vacuum…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить data-data-lake в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Data Lake

Purpose

Design and operate ACID-compliant data lakes on object storage using Delta Lake, Apache Iceberg, or Apache Hudi. Manage table formats, optimize storage layout, enforce schema evolution, and implement time-travel and CDC patterns.

Agent Protocol

Trigger

Exact user phrases: "Delta Lake", "Apache Iceberg", "Apache Hudi", "Lakehouse", "ACID on lake", "time travel", "table format", "compaction", "Z-order", "Hilbert curve", "vacuum", "CDC", "merge-on-read", "copy-on-write", "manifest file", "metadata layer", "schema evolution", "optimize table", "incremental query".

Input Context

Before activating, verify:

  • Object storage backend (S3, ADLS, GCS, MinIO)
  • Table format preference (Delta, Iceberg, Hudi)
  • Compute engine (Spark, Flink, Trino, Presto, Hive)
  • Write pattern (append-heavy, update-heavy, CDC stream)
  • Query pattern (OLAP, incremental, point lookup, full scan)
  • Partition strategy (date, categorical, Z-order dimensions)

Output Artifact

Lake architecture with table format selection, compaction strategy, optimization plan.

Response Format

Table Format: {Delta Lake | Apache Iceberg | Apache Hudi}
Storage: {S3 | ADLS | GCS | MinIO}
Write Mode: {copy-on-write | merge-on-read}
Partition: {column, granularity}
Optimize: {Z-order by columns, compaction interval}
Vacuum: {retention hours}
-- DDL / optimization commands

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.

Completion Criteria

  • Table format selected with trade-off analysis
  • ACID guarantees documented (concurrent readers/writers)
  • Write mode (CoW vs MoR) selected per table
  • Partition strategy defined
  • Compaction policy set (file size target, interval)
  • Vacuum retention period configured
  • Schema evolution rules defined

Max Response Length

250 lines of config.

Workflow

Step 1: Select Table Format

Format Comparison Matrix

Feature Delta Lake Apache Iceberg Apache Hudi
Primary sponsor Databricks Apache (Netflix) Apache (Uber)
ACID Optimistic concurrency MVCC + optimistic MVCC
Multi-engine Spark, some Trino Spark, Trino, Flink, Hive Spark, Flink, Hive
Schema evolution Add/drop/rename/comment Add/drop/rename/reorder Add/drop/rename
Partition evolution No (re-write) Yes (hidden partitioning) No
Time travel Delta log (max 30 days default) Snapshot metadata Timeline
Incremental query Spark streaming source Spark + Flink + Trino Incremental queries
CDC support CDC via merge into Row-level delete + merge Native CDC (MOR)
Table maintenance OPTIMIZE, VACUUM rewrite_data_files, expire_snapshots clustering, compaction
File compaction Bin-packing Rewrite data files Inline or async

Format Selection Decision Tree

Primary query engine?
├── Spark (only), Databricks ecosystem → Delta Lake
├── Multi-engine (Spark + Trino + Flink)
│   ├── Partition evolution needed → Apache Iceberg
│   └── No partition evolution → Delta Lake or Iceberg
├── Heavy CDC / update workloads
│   ├── Need native CDC → Apache Hudi (MOR)
│   └── General CDC → Apache Iceberg with merge
└── Hive/Presto/Trino only
    ├── Iceberg (best Hive/Trino support)
    └── Hudi (older Hive support)

Write pattern?
├── Append-heavy (logs, events) → Any format
├── Update-heavy (CDC, GDPR deletions) → Hudi (MOR) or Iceberg
└── Deletes (GDPR right to erasure) → Iceberg or Delta

Step 2: Configure ACID Guarantees

Delta Lake Concurrency

# Delta Lake ACID config
delta.autoOptimize.autoCompact: true
delta.autoOptimize.optimizeWrite: true
delta.tuneFileSizesForRewrites: true

# Concurrent write conflict handling
# Delta uses optimistic concurrency — retries on conflict
# For high-contention tables, use partition-level writes
# Avoid writing to same partition from multiple jobs simultaneously

# Isolation level
delta.isolationLevel: WriteSerializable  # Default: better write concurrency
# delta.isolationLevel: Serializable     # Strictest: also orders reads vs writes

Iceberg Concurrency

# Iceberg catalog-level conflict handling
# Iceberg uses optimistic concurrency at catalog level
# Retry mechanism built into Spark/Flink Iceberg integrations
# For high-contention scenarios, use:
  1. Partition-level writes
  2. Retry with exponential backoff (built-in)
  3. Serializable isolation (default)

# Iceberg catalog properties
iceberg:
  catalog:
    type: hive  # or nessie, glue, jdbc, rest
    lock-impl: in-memory  # For testing only
    # Production: use catalog-native locking (HMS Lock, DynamoDB)
    warehouse: s3://data-lake/warehouse

Step 3: Write Mode Selection

Copy-on-Write (CoW)

Writes rewrite entire Parquet files. Best for: read-heavy workloads, append-only tables, smaller tables, OLAP queries. Pros: no merge at read time, s

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/api_reference.md
  • references/architecture-patterns.md
  • references/architecture_patterns.md
  • references/code-organization.md
  • references/configuration_guide.md
  • references/data-lake-advanced.md
  • references/data-lake-fundamentals.md
  • references/deployment-pipelines.md
  • references/deployment_strategies.md
  • references/error-handling.md
  • references/flink_state_management_1.md
  • references/flink_state_management_2.md
  • references/flink_state_management_3.md
  • references/flink_state_management_4.md
  • references/flink_state_management_5.md
  • references/flink_state_management_6.md
  • references/flink_state_management_7.md
  • references/flink_state_management_8.md
  • references/integration_guide.md
  • references/lake-gov-access.md
  • references/lake-operations.md
  • references/lake-performance-tuning.md
  • references/merged-data-lake-architecture.md
  • references/nessie-catalog.md
  • references/performance-optimization.md
  • references/performance_tuning.md
  • references/security-best-practices.md
  • references/security_best_practices.md
  • references/state-management.md
  • references/table-formats.md
  • references/testing-strategies.md
  • references/troubleshooting_guide.md
  • references/xtable-multi-format.md

FAQ

Что делает скилл data-data-lake?

Use when the user asks to choose between Iceberg, Delta Lake and Hudi, ACID tables on object storage, time travel, schema evolution, compaction, vacuum, Z-order, merge-on-read vs copy-on-write or data lake architecture. Produces table-format choice and table maintenance plan. Not for medallion and Unity Catalog platform design (use data-data-lakehouse).

Как установить скилл data-data-lake?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл data-data-lake запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить data-data-lake с