スキル一覧に戻る
vasilyu1983

data-lake-platform

by vasilyu1983

25🍴 6📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


Data Lake Platform — Quick Reference

Build production data lakes and lakehouses: ingest from any source, transform with SQL, store in open formats, query at scale.


When to Use This Skill

  • Design data lake/lakehouse architecture (medallion, data mesh, lambda/kappa)
  • Set up data ingestion pipelines (dlt, Airbyte)
  • Build SQL transformation layers (SQLMesh, dbt)
  • Choose and configure table formats (Iceberg, Delta Lake, Hudi)
  • Deploy analytical query engines (ClickHouse, DuckDB, Doris, StarRocks)
  • Implement streaming pipelines (Kafka, Flink, Spark Streaming)
  • Set up orchestration (Dagster, Airflow, Prefect)
  • Implement data quality and governance (Great Expectations, DataHub)
  • Optimize storage costs and query performance
  • Migrate from legacy warehouse to lakehouse

Quick Reference

LayerToolsTemplatesWhen to Use
Ingestiondlt, Airbyteassets/ingestion/Extract from APIs, databases, files
TransformationSQLMesh, dbtassets/transformation/SQL-based data modeling
StorageIceberg, Delta, Hudiassets/storage/Open table formats with ACID
Query EnginesClickHouse, DuckDB, Dorisassets/query-engines/Fast analytical queries
StreamingKafka, Flink, Sparkassets/streaming/Real-time data pipelines
OrchestrationDagster, Airflow, Prefectassets/orchestration/Pipeline scheduling
CloudSnowflake, BigQuery, Redshiftassets/cloud/Managed warehouses
VisualizationMetabase, Superset, Grafanaassets/visualization/Dashboards, BI, monitoring
ObservabilityMonte Carlo, Datafold, Great Expectationsreferences/operational-playbook.mdData quality monitoring, anomaly detection

Decision Tree: Choosing Your Stack

Data Lake Architecture?
    ├─ Self-hosted priority?
    │   ├─ OLAP queries? → ClickHouse (vector search, lazy materialization in 2025)
    │   ├─ Embedded analytics? → DuckDB (in-process, no server)
    │   ├─ Complex joins + updates? → Apache Doris or StarRocks
    │   └─ Data lakehouse? → Iceberg + Trino/Spark
    │
    ├─ Cloud-native?
    │   ├─ AWS? → Redshift, Athena + Iceberg
    │   ├─ GCP? → BigQuery
    │   ├─ Multi-cloud? → Snowflake
    │   └─ Federated queries? → Lakehouse Federation (query BigQuery, Oracle without copying)
    │
    ├─ Ingestion tool?
    │   ├─ Python-first, simple? → dlt (5,000+ sources, AI-assisted creation)
    │   ├─ GUI, many connectors? → Airbyte
    │   └─ Enterprise, CDC? → Debezium, Fivetran
    │
    ├─ Transformation tool?
    │   ├─ SQL-first, CI/CD? → SQLMesh (9× faster, plan/apply workflow)
    │   ├─ Large community? → dbt (Fusion engine: 30× faster parsing)
    │   └─ Python transformations? → Pandas + Great Expectations
    │
    ├─ Table format?
    │   ├─ Multi-engine reads? → Apache Iceberg (de facto standard)
    │   ├─ Databricks ecosystem? → Delta Lake
    │   ├─ CDC, real-time updates? → Apache Hudi (now supports Iceberg output)
    │   └─ Cross-format interop? → Apache XTable (Iceberg ↔ Delta ↔ Hudi)
    │
    ├─ Streaming? (45%+ of new workloads are real-time)
    │   ├─ Event streaming? → Apache Kafka
    │   ├─ Stream processing? → Apache Flink
    │   └─ Batch + streaming? → Spark Streaming
    │
    └─ Orchestration?
        ├─ Data-aware, modern? → Dagster (recommended)
        ├─ Mature, many integrations? → Airflow
        └─ Python-native, simple? → Prefect

Architecture Patterns

Pattern 1: Medallion Architecture (Bronze/Silver/Gold)

Use when: Building enterprise data lake with clear data quality tiers.

Sources → Bronze (raw) → Silver (cleaned) → Gold (business-ready)
            ↓              ↓                  ↓
         Iceberg        Iceberg            Iceberg
         append-only    deduped            aggregated

Tools: dlt → SQLMesh → ClickHouse/DuckDB → Metabase

See assets/cross-platform/template-medallion-architecture.md

Pattern 2: Data Mesh (Domain-Oriented)

Use when: Large organization, multiple domains, decentralized ownership.

Domain A ──→ Domain A Lake ──→ Data Products
Domain B ──→ Domain B Lake ──→ Data Products
Domain C ──→ Domain C Lake ──→ Data Products
                   ↓
            Federated Catalog (DataHub/OpenMetadata)

Tools: dlt (per domain) → SQLMesh → Iceberg → DataHub

See references/architecture-patterns.md

Pattern 3: Lambda/Kappa (Streaming + Batch)

Use when: Real-time + historical analytics required.

Lambda: Kafka → Flink (speed layer) ───→ Serving
                   ↓                        ↑
        Batch (Spark) → Iceberg ───────────┘

Kappa:  Kafka → Flink → Iceberg → Serving (single path)

Tools: Kafka → Flink → Iceberg → ClickHouse

See references/streaming-patterns.md


Core Capabilities

Quick Selection Guide

NeedRecommended ToolAlternative
Ingest from APIsdltAirbyte
Ingest with CDCDebeziumAirbyte CDC
Transform SQLSQLMeshdbt
Store dataApache IcebergDelta Lake
Query PB-scaleClickHouseDoris/StarRocks
Query localDuckDBPolars
Stream eventsKafkaRedpanda
Process streamsFlinkSpark Streaming
OrchestrateDagsterAirflow
Visualize (business)MetabaseSuperset
Observe dataMonte CarloElementary

1. Data Ingestion (dlt, Airbyte)

Extract data from any source: REST APIs, databases, files, SaaS platforms.

ToolSourcesSetupBest For
dlt5,000+pip install dltPython teams, AI-assisted development
Airbyte300+Docker/K8sGUI preference, enterprise CDC

dlt (Python-native, recommended):

  • 5,000+ sources (growing via AI-assisted creation)
  • Incremental loading, schema evolution, data contracts
  • AI-assisted: works with Cursor, Claude, Codex
  • Destinations: ClickHouse, DuckDB, Snowflake, BigQuery, Postgres

Airbyte (GUI, connectors):

  • 300+ pre-built connectors with low-code CDK
  • Self-hosted or cloud, CDC replication
  • Declarative YAML configuration

See assets/ingestion/dlt/ and assets/ingestion/airbyte/

2. SQL Transformation (SQLMesh, dbt)

Build data models with SQL, manage dependencies, test data quality.

ToolSpeedWorkflowBest For
SQLMesh9× fasterPlan/apply (Terraform-like)New projects, CI/CD-heavy
dbtFusion: 30× faster parsingDirect runExisting ecosystems, semantic layer

SQLMesh (recommended for new projects):

  • Virtual data environments (no clones needed)
  • Automatic change detection, plan/apply workflow
  • Built-in unit testing, SQLGlot parsing
  • 9× faster execution, 136× faster rollbacks (Databricks benchmark)

dbt (for existing ecosystems):

  • Large community, extensive packages
  • Semantic layer for LLM-based querying
  • Fusion engine: 30× faster parsing (Rust rewrite)
  • dbt Cloud for managed experience

See assets/transformation/sqlmesh/ and assets/transformation/dbt/

3. Open Table Formats (Iceberg, Delta, Hudi)

Store data in open formats with ACID transactions, time travel, schema evolution.

FormatBest ForMulti-Engine2025 Status
IcebergGeneral useExcellentDe facto standard
DeltaDatabricksGood (improving)Z-ordering, change feed
HudiCDC/upsertsGoodNow outputs Iceberg format
XTableInteropN/ACross-format metadata sync

Apache Iceberg (de facto standard):

  • Multi-engine: Spark, Trino, Flink, ClickHouse, Snowflake
  • Hidden partitioning, snapshot isolation
  • Industry momentum (Snowflake, Databricks, AWS adopt)

Delta Lake:

  • Databricks native, Z-ordering optimization
  • Change data feed, improving multi-engine support

Apache Hudi:

  • Optimized for CDC/updates, record-level indexing
  • 2025: Now supports native Iceberg format output

Apache XTable (interoperability):

  • Write once, read in any format
  • Metadata sync: Iceberg ↔ Delta ↔ Hudi

See assets/storage/

4. Query Engines (ClickHouse, DuckDB, Doris, StarRocks)

Fast analytical queries on large datasets.

EngineScaleDeployment2025 Highlights
ClickHousePB+Server/CloudVector search, lazy materialization, join reordering
DuckDBGB-TBIn-processIceberg support, Python-native
Doris/StarRocksPB+DistributedComplex joins, real-time updates

ClickHouse (2025 features):

  • Vector search (25.8), full-text search (25.9+)
  • Join reordering: 1,450× faster multi-table queries
  • Lazy materialization: deferred column reads
  • Native Iceberg/Delta Lake integration

DuckDB (embedded):

  • In-process, no server required
  • Parquet/CSV/Iceberg native reads
  • Python/R integration, laptop-scale analytics

Apache Doris / StarRocks:

  • MPP architecture, MySQL protocol
  • Complex joins, real-time updates
  • Iceberg/Hudi/Delta catalog integration

See assets/query-engines/

Real-time data pipelines and stream processing. 45%+ of new data engineering workloads are now real-time.

ToolProcessingLatencyBest For
KafkaEvent streamingmsEvent backbone, CDC
FlinkTrue streamingmsComplex event processing
Spark StreamingMicro-batchsecondsBatch + stream unified

Apache Kafka:

  • Event streaming platform, durable log storage
  • Connect ecosystem for CDC and integrations
  • Foundation for event-driven architectures

Apache Flink:

  • True stream processing, exactly-once semantics
  • Stateful computations, complex event processing
  • Low-latency for fraud detection, real-time analytics

Spark Streaming:

  • Micro-batch processing (seconds latency)
  • Unified batch + stream API
  • ML integration, familiar Spark ecosystem

See assets/streaming/

6. Orchestration (Dagster, Airflow, Prefect)

Schedule and monitor data pipelines.

ToolParadigmBest ForLearning Curve
DagsterSoftware-defined assetsNew projects, data-awareMedium
AirflowTask-based DAGsEnterprise, many integrationsHigh
PrefectPython-nativeSimple deploymentsLow

Dagster (recommended for new projects):

  • Software-defined assets, data-aware scheduling
  • Built-in observability and type system
  • Modern developer experience

Airflow:

  • Mature, battle-tested, large community
  • Many operators and integrations
  • De facto standard in enterprise

Prefect:

  • Python-native, minimal boilerplate
  • Hybrid execution model
  • Simple deployment and debugging

See assets/orchestration/

7. Visualization (Metabase, Superset, Grafana)

Business intelligence dashboards and operational monitoring.

Metabase (business users):

  • Intuitive question builder
  • Self-serve analytics
  • Signed embedding
  • Caching and permissions

Apache Superset (analysts):

  • SQL Lab for exploration
  • Advanced visualizations
  • Row-level security
  • Custom chart plugins

Grafana (infrastructure):

  • Time-series dashboards
  • Real-time alerting
  • Prometheus/InfluxDB native
  • Data pipeline monitoring

See assets/visualization/ and references/bi-visualization-patterns.md

8. Data Observability (Monte Carlo, Datafold, Great Expectations)

Monitor data health, detect anomalies, and ensure pipeline reliability.

Why Observability Matters (2026):

  • 60% of data management tasks will be automated by 2027 (Gartner)
  • Traditional monitoring only alerts on known issues
  • Modern observability uses AI/ML to detect anomalies and predict failures

Key Capabilities:

  • Freshness monitoring — Detect late-arriving or stale data
  • Volume monitoring — Track row counts and data growth patterns
  • Schema change detection — Alert on unexpected column changes
  • Distribution monitoring — Detect data drift and outliers
  • Lineage-aware alerting — Understand downstream impact of issues

Tool Landscape:

ToolTypeBest For
Monte CarloCommercialFull-stack observability, enterprise
DatafoldCommercialData diffing, CI/CD integration
Great ExpectationsOpen sourceData validation, testing
ElementaryOpen sourcedbt-native observability
SodaOpen/CommercialData quality checks, contracts

See references/operational-playbook.md


Resources (Deep Guides)

ResourceDescription
architecture-patterns.mdMedallion, data mesh, lakehouse design
ingestion-patterns.mddlt vs Airbyte, CDC, incremental loading
transformation-patterns.mdSQLMesh vs dbt, testing, CI/CD
storage-formats.mdIceberg vs Delta vs Hudi comparison
query-engine-patterns.mdClickHouse, DuckDB, Doris optimization
streaming-patterns.mdKafka, Flink, Spark Streaming
orchestration-patterns.mdDagster, Airflow, Prefect comparison
governance-catalog.mdDataHub, OpenMetadata, lineage
cost-optimization.mdStorage, compute, query optimization
operational-playbook.mdMonitoring, incidents, migrations
bi-visualization-patterns.mdMetabase, Superset, Grafana operations

Templates (Copy-Paste Ready)

CategoryTemplates
Cross-platformmedallion, pipeline, incremental, quality, schema, partitioning, cost, migration
Ingestion/dltpipeline, rest-api, database-source, incremental, warehouse-loading
Ingestion/Airbyteconnection, custom-connector
Transformation/SQLMeshproject, model, incremental, dag, testing, production, security
Transformation/dbtproject, incremental, testing
Storageiceberg-table, iceberg-maintenance, delta-table, hudi-table, parquet-optimization
Query Enginesclickhouse (setup, ingestion, optimization, materialized-views, replication), duckdb, doris, starrocks
Streamingkafka-ingestion, flink-processing, spark-streaming
Orchestrationdagster-pipeline, airflow-dag, prefect-flow
Cloudsnowflake-setup, bigquery-setup, redshift-setup
Visualizationmetabase (connection-checklist, dashboard-request, incident-playbook)

Data Quality & Governance

assets/cross-platform/template-ingestion-governance-checklist.md — Intake checklist for new datasets (contracts, access control, operability, cost).

assets/cross-platform/template-data-quality-backfill-runbook.md — Runbook for data incidents, backfills, and safe reprocessing.

assets/cross-platform/template-data-quality-governance.md — Comprehensive checklist for production data platforms.

Key Sections

  • Data Quality Contracts — Schema, freshness SLAs, volume bounds, uniqueness
  • Governance & Access Control — RBAC, row/column security, classification
  • Security — Encryption at rest/transit, network isolation, audit trails
  • Reliability — Backfill procedures, idempotency patterns, reprocessing
  • Cost Control — Storage optimization, compute governance, monitoring

Do / Avoid

GOOD: Do

  • Define data contracts before building pipelines
  • Implement quality gates at each tier (Bronze → Silver → Gold)
  • Use idempotent operations for all transformations
  • Enable audit logging from day one
  • Plan for backfills in pipeline design
  • Document SLAs for every critical table

BAD: Avoid

  • Skipping data quality validation to "move fast"
  • Storing PII without classification and access controls
  • Creating pipelines that can't be re-run safely
  • Using shared service accounts without audit trails
  • Ignoring cost controls until the bill arrives
  • Manual schema changes without version control

Anti-Patterns

Anti-PatternProblemFix
Schema on read onlyQuality issues discovered too lateAdd schema validation at Bronze layer
No freshness SLAStale data used in decisionsDefine and monitor freshness contracts
Single partition strategyQuery costs explodePartition by most common filter column
Unversioned schemasBreaking changes surprise consumersUse schema registry + contracts
No data ownerAccountability vacuumAssign owner to every dataset

Optional: AI/Automation

Note: These are enhancements, not requirements. Implement only after core governance is solid.

  • Automated Quality Monitoring — Anomaly detection on volumes and distributions
  • AI-Assisted Governance — Auto-classification of PII columns, metadata enrichment
  • Bounded Claims — AI detection should supplement, not replace, explicit rules; human review required for PII classification


Quick Start Examples

Example 1: dlt + ClickHouse + Metabase

# Install dlt with ClickHouse
pip install "dlt[clickhouse]"

# Initialize pipeline
dlt init rest_api clickhouse

# Configure and run
python pipeline.py

Example 2: SQLMesh + DuckDB (Local Development)

# Install SQLMesh
pip install sqlmesh

# Initialize project
sqlmesh init duckdb

# Plan and apply
sqlmesh plan
sqlmesh run

Example 3: Dagster + dlt + SQLMesh

# dagster_pipeline.py
from dagster import asset, Definitions
import dlt
import sqlmesh

@asset
def raw_data():
    pipeline = dlt.pipeline("my_pipeline", destination="duckdb")
    return pipeline.run(source_data())

@asset(deps=[raw_data])
def transformed_data():
    ctx = sqlmesh.Context()
    ctx.run()

Sources

See data/sources.json for 100+ curated sources covering:

  • Official documentation (dlt, SQLMesh, ClickHouse, Iceberg, etc.)
  • Architecture guides (medallion, data mesh)
  • Comparison articles (2024-2025 benchmarks)
  • Community resources (Discord, Stack Overflow)
  • Russian ecosystem (Yandex DataLens, Arenadata, Altinity)

Trend Awareness Protocol

IMPORTANT: When users ask recommendation questions about data lakes, lakehouses, or data platforms, you MUST use WebSearch to check current trends before answering.

Trigger Conditions

  • "What's the best tool for [data lake/lakehouse/data platform]?"
  • "What should I use for [ingestion/transformation/query engine]?"
  • "What's the latest in data engineering?"
  • "Current best practices for [Iceberg/dbt/ClickHouse]?"
  • "Is [tool/approach] still relevant in 2026?"
  • "[Iceberg] vs [Delta Lake] vs [Hudi]?"
  • "Best orchestration tool for [data pipelines]?"

Required Searches

  1. Search: "data lakehouse best practices 2026"
  2. Search: "[Iceberg/ClickHouse/dbt] vs alternatives 2026"
  3. Search: "data engineering trends January 2026"
  4. Search: "[specific tool] new releases 2026"

What to Report

After searching, provide:

  • Current landscape: What data tools/patterns are popular NOW
  • Emerging trends: New tools, formats, or patterns gaining traction
  • Deprecated/declining: Tools/approaches losing relevance or support
  • Recommendation: Based on fresh data, not just static knowledge
  • Table formats (Iceberg, Delta Lake, Hudi, Paimon)
  • Query engines (ClickHouse, DuckDB, Doris, StarRocks)
  • Transformation tools (dbt, SQLMesh, SQLGlot)
  • Ingestion tools (dlt, Airbyte, Fivetran)
  • Orchestration (Dagster, Airflow, Prefect)
  • Streaming (Kafka, Flink, Spark Streaming)
  • Data governance and catalogs (DataHub, OpenMetadata)

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です