Data Lake Platform 标志

Data Lake Platform

社区
vasilyu1983
data-lake-platform

设计基于 Iceberg、Delta、Hudi 和 Paimon 的湖仓平台。适用于选择目录、CDC 路径、查询引擎、治理方案或成本控制措施。

概览

发布者vasilyu1983
代码仓库AI-Agents-public
技能名称data-lake-platform
星标数
87
复刻数
19
附带文件
65
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 65 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 vasilyu1983 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Data Lake Platform AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/data-lake-platform
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/data-lake-platform .claude/skills/data-lake-platform
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Data Lake Platform,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Data Lake Platform。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Data Lake Platform 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Data Lake Platform

Build and operate production data lakes and lakehouses: ingest, transform, store in open formats, and serve analytics reliably.

Quick Reference

TaskResourceWhen to Use
Pick a table format and spec versionreferences/storage-formats.mdChoosing Iceberg v2/v3, Delta 4.x, Hudi, Paimon, or DuckLake
Pick a catalog / control planereferences/governance-catalog.mdChoosing Polaris, Glue, Nessie, Unity, Gravitino, or Open Catalog
Design ingestion or CDC pathreferences/ingestion-patterns.mddlt, Airbyte, Debezium, Flink CDC
Scaffold or inspect an Iceberg tablescripts/scaffold_iceberg_table.py, scripts/inspect_iceberg_metadata.shNew table DDL or auditing an existing table's file/metadata layout
Sanity-check an interoperability or version claimdata/sources.json + Fact-Checking belowAny claim about spec-version GA status, engine support, or vendor feature

Quick-Start Decision Table

SituationDefault choice
Open multi-engine analyticsIceberg + REST catalog (Polaris/Glue/Nessie) + Trino
Databricks primary computeDelta 4.x + Unity Catalog; add UniForm only if external readers exist
CDC-heavy mutable, Spark-centeredHudi (CoW or MoR) + Kafka/Debezium
Streaming-first mutable, Flink-centeredPaimon + Flink CDC
Single-engine embedded / analyst workstationDuckLake (v1.0 GA Apr 2026) or DuckDB + Parquet/Iceberg
Low-latency BI, high concurrency dashboardsClickHouse or StarRocks serving layer
Local/CI prototyping with open-table portabilityDuckDB + Iceberg extension

Format State as of July 2026

FeatureApache Iceberg (1.11.x)Delta Lake 4.3Apache Hudi (1.0 stable / 1.1 dev)Apache Paimon (1.3.x)
Spec versionv3 GA on managed platforms; Trino writes still experimentalProtocol v3; Liquid Clustering GA1.x table version1.x
Deletion vectorsGA (v3 spec; bitmap on Puffin)GAN/A (MoR log)N/A (MoR log)
Catalog postureREST-first; Polaris TLP Feb 2026Catalog-managed tables mature (4.1-4.3); Unity Catalog Delta APIs route all opsMixedFlink-first, expanding
Coordinated commitsVia catalog (Polaris/Glue/Nessie)GA since 4.1; streaming + CDC on catalog-managed tables since 4.3N/AN/A
Branches and tagsFirst-classLimitedWorkflow-specificWorkflow-specific
Multi-engine readsStrong (Trino, Spark, DuckDB, Flink)Improving via UniForm + native Flink connector (4.2+); Trino v3 writes still experimentalImprovingGrowing; validate
Trino v3 supportExperimental: read/write of base data works; row-level updates, deletes, and OPTIMIZE on v3 tables are not supportedReaders via UniFormN/AN/A

Key July 2026 facts (verify before quoting further out):

  • Iceberg v3 is GA on Snowflake (May 7 2026) and AWS (S3 Tables, Glue, EMR — Nov 2025). On Databricks it is Public Preview (announced Apr 9 2026, Databricks Runtime 18.0+ with Unity Catalog), not GA — do not tell a Databricks-only user v3 is production-ready there without checking current Databricks release notes.
  • Trino's Iceberg connector treats format-version-3 support as experimental in its own docs: base read/write works, but row-level updates, deletes, and OPTIMIZE on v3 tables are unsupported. Starburst's Trino-based product has broader v3 support (deletion vectors, variant type) than open-source Trino — don't conflate the two when a client asks about "Trino."
  • Delta Lake shipped 4.1 (Mar 2026, catalog-managed tables GA), 4.2 (Apr 2026, native Flink connector, geospatial + Variant GA in Kernel), and 4.3 (Jun 2026, Unity Catalog Delta APIs route every table operation, streaming/CDF on catalog-managed tables). Treat "4.1" as a floor, not the current version.
  • Apache Polaris graduated to Apache Top-Level Project on Feb 19 2026 (~100 contributors, 6 releases, 2800+ PRs at graduation) and is now on a monthly release train with federation and credential vending in production.
  • DuckLake v1.0 GA Apr 13 2026: SQL-based catalog (SQLite/PostgreSQL/DuckDB), Iceberg-compatible deletion vectors, clients for Spark/Trino/DataFusion/Pandas. DuckLake 1.1 is expected ~Sept 2026 — re-check compatibility notes before committing to a long-lived DuckLake deployment.
  • Amazon S3 Tables: Iceberg v3 deletion vectors and row lineage supported (GA, rolled out from Nov 2025); simplified IAM permissions (Mar 2026); GovCloud GA (Feb 2026); two new regions (May 2026).
  • Apache Gravitino: TLP graduated Jun 2025; 1.2.0 (Mar 13 2026) added Table Maintenance Service, ClickHouse catalog, end-to-end UDF management; 1.2.1 (May 11 2026) is a stability/correctness patch — prefer it over 1.2.0 for new deployments.
  • Apache Hudi 1.1 is an active development branch (pluggable table-format framework, indexing rework) — not recommended for production as of July 2026; production Hudi deployments should stay on the 1.0.x line.

Any number here (release dates, contributor counts, benchmark percentages) can drift within weeks in this space — re-verify against the primary source in data/sources.json before repeating it in a client-facing recommendation, especially GA-vs-preview status, which vendors routinely blur in marketing copy.

Decision Tree

text
Choosing a lakehouse path:
    ├─ Databricks is the primary platform?
    │   └─ Delta 4.x + Unity Catalog; add UniForm only if external readers matter
    │
    ├─ Need open multi-engine access across Trino/Spark/DuckDB?
    │   └─ Iceberg v2/v3 + Polaris / Glue REST / Nessie / Open Catalog
    │       Note: default to v2 if Trino must write; v2 avoids row-update/delete/OPTIMIZE
    │       gaps that v3 still has on open-source Trino as of July 2026
    │
    ├─ Need heavy CDC, mutable tables, or streaming-first semantics?
    │   ├─ Flink-native stack -> Paimon first, compare with Hudi
    │   └─ Spark-heavy stack -> Hudi first (CoW for read-heavy, MoR for write-heavy)
    │
    ├─ Single-engine embedded or analyst workstation?
    │   └─ DuckLake v1.0 (PostgreSQL catalog for multi-instance) or DuckDB + Parquet
    │
    ├─ Need low-latency dashboards or embedded analytics?
    │   ├─ High concurrency BI -> Add ClickHouse / StarRocks / Doris
    │   └─ Local, notebook, CI -> DuckDB + Parquet/Iceberg
    │
    └─ Heterogeneous multi-format estate (Hive + Kafka + RDBMS)?
        └─ Apache Gravitino as federated "catalog of catalogs"

Catalog Landscape (July 2026)

CatalogStatusBest forWatch-outs
Apache PolarisTLP since Feb 2026; monthly release train; production-readyOpen self-hosted Iceberg control planeYou still need separate metadata/lineage
Glue Iceberg REST + S3 TablesGA; v3 deletion vectors/row lineage; simplified IAM Mar 2026AWS-native managed IcebergAWS-centric; S3 Tables auto-compaction
Snowflake Open CatalogGA; v3 GA May 7 2026Snowflake-adjacent open Iceberg interopValidate write paths and service principals
Project NessieStableBranch/tag promotion, isolated backfillsNarrower governance scope
Unity CatalogGA; Delta Lake 4.3 routes all catalog-managed ops through itDatabricks-centered governance + computeCross-engine behavior must be verified
Apache GravitinoTLP Jun 2025; 1.2.1 (May 2026) is current stableFederated multi-format metadata unificationNewer; validate production readiness per deployment
DuckLakev1.0 GA Apr 2026; 1.1 expected ~Sept 2026Single-engine or small-team SQL-native lakehouseNot designed for Spark/Flink concurrent writes

Workflow Checklist

1. Architecture and Ingestion

2. Storage and Catalog

  • Select table format and version: references/storage-formats.md
    • Iceberg: confirm v2 or v3 — check all engine support before enabling v3
    • Delta: use 4.x catalog-managed tables for new workloads
    • Hudi/Paimon: validate engine stack before committing
  • Select catalog: references/governance-catalog.md
    • Polaris for open Iceberg; Glue REST for AWS; Nessie for branching; Unity for Databricks
    • Consider Gravitino for heterogeneous multi-catalog federation
  • Set compaction, snapshot retention, and orphan-file cleanup schedule
  • Test interoperability with all intended engines before declaring multi-engine support

3. Transformation

4. Query and Serving

5. Quality, Security, and Ops

Quick Commands

bash
# Generate DDL for partitioned Iceberg table (REST catalog, format v2):
python scripts/scaffold_iceberg_table.py \
  --catalog rest \
  --name analytics.events \
  --columns "event_id BIGINT, user_id BIGINT, event_type STRING, ts TIMESTAMP" \
  --partition ts_month,event_type \
  --format-version 2 \
  --target-file-size-mb 256

# Inspect S3-backed Iceberg table layout:
./scripts/inspect_iceberg_metadata.sh \
  --location s3://my-bucket/warehouse/analytics/events \
  --backend s3

# Iceberg maintenance (run in Spark or Trino):
CALL catalog.system.expire_snapshots('db.events', TIMESTAMP '2026-01-01');
CALL catalog.system.remove_orphan_files('db.events');
CALL catalog.system.rewrite_data_files('db.events');
CALL catalog.system.rewrite_manifests('db.events');

# DuckLake: create catalog and attach (DuckDB v1.5.2+):
INSTALL ducklake; LOAD ducklake;
ATTACH 'ducklake:postgres:dbname=catalog host=localhost' AS lake;

# Delta: check table version and history:
DESCRIBE HISTORY delta.`s3://bucket/path/to/table`

Reference Architectures

  • Open multi-engine: object storage + Iceberg v2/v3 + Polaris or Glue REST + Trino/Spark + DataHub/OpenMetadata + OpenLineage
  • Databricks-centered: Delta 4.x + Unity Catalog; add external interoperability only where there is a real consumer requirement
  • Streaming-first mutable: Kafka/Flink CDC + Hudi or Paimon + Trino/Spark readers + strict replay and retention rules
  • Serving-heavy analytics: Iceberg/Hudi/Delta upstream + ClickHouse/StarRocks/Doris downstream for fast dashboards
  • Small-team embedded: DuckLake v1.0 + PostgreSQL catalog + DuckDB compute; upgrade path to Iceberg when multi-engine needed

Do / Avoid

Do

  • Define data contracts, owners, and retention rules before first write.
  • Make every pipeline idempotent, replayable, and safe to backfill.
  • Keep catalog, lineage, and access-control choices explicit.
  • Test interoperability on real engines before committing to multi-engine promises.
  • Confirm the exact Iceberg v3 feature and engine support matrix (GA vs preview vs experimental — they are not the same) before enabling v3 in production, and re-check it close to launch since GA dates and preview scopes move monthly.
  • Use a serving layer only when workloads prove the need.
  • Distinguish "the spec supports X" from "our vendor's build of the engine supports X" — Trino open source and Starburst's Trino-based product diverge on Iceberg v3 coverage, and Databricks' own docs may say "Public Preview" even when a partner blog calls it "available."

Avoid

  • Treating Delta, Iceberg, Hudi, and Paimon as interchangeable.
  • Enabling Iceberg v3 writes on Trino in production — as of July 2026 Trino's own docs mark v3 as experimental with row-level updates, deletes, and OPTIMIZE unsupported on v3 tables.
  • Repeating a vendor's "v3 support" headline without checking whether it means GA, public preview, or read-only — Databricks Iceberg v3 is Public Preview, not GA, even though it is easy to find blog copy that reads as if it shipped.
  • Hiding governance inside a single vendor-specific default.
  • Shipping CDC without delete handling, retention policy, and replay drills.
  • Recommending managed services or format/spec-version claims without current-source verification — this space re-ships GA announcements monthly, and a fact that was accurate in the last training pass is a coin flip a month later.

Known Traps

  • Choosing a table format for vendor fit before validating engine support, catalog behavior, delete semantics, and maintenance tooling across the actual estate.
  • Treating object storage plus an open table format as a complete platform while leaving compaction, snapshot retention, metadata cleanup, and orphan-file controls unmanaged.
  • Mixing CDC upserts, streaming ingestion, and batch rewrites into the same tables without explicit idempotency, late-arrival, and rollback rules.
  • Assuming all engines interpret schema evolution, partition pruning, delete files, and time travel consistently across formats.
  • Copying warehouse-style small-table habits into the lake and creating severe small-file, manifest, and metadata amplification at scale.
  • Assuming DuckLake is interchangeable with Iceberg REST for multi-engine workloads — DuckLake is SQL-catalog-native and not designed for concurrent Spark/Flink write access.
  • Recommending a coordinated-commits or catalog-managed-tables migration (Delta 4.x, Iceberg REST) as a drop-in change. It changes who owns the commit path and can require a client/connector version bump across every reader and writer — sequence it as a migration with a rollback plan, not a config flag.
  • Picking the format with the best headline feature (row lineage, deletion vectors, Variant type) without asking whether the catalog and compute stack the client already has can actually exercise that feature today. A GA spec feature is not GA for that client until their engine, catalog, and client library all agree on it.
  • Treating "Apache project" or "Top-Level Project" status as a maturity signal by itself. TLP graduation (Polaris, Gravitino) is a governance and community milestone, not a production-readiness certification — check adoption, release cadence, and operator experience separately.
  • Letting a proof-of-concept's convenient single-engine choice (e.g., DuckLake, embedded DuckDB) silently become the production architecture once a second team needs concurrent writes or a different query engine. Name the upgrade trigger and the target format up front.

Navigation

References (load on demand)

FileLoad when
references/architecture-patterns.mdChoosing medallion, mesh, lambda, kappa, or lakehouse pattern
references/data-mesh-patterns.mdDesigning domain ownership, data products, or federated governance
references/ingestion-patterns.mdDesigning batch or CDC ingest paths (dlt, Airbyte, Debezium)
references/streaming-patterns.mdDesigning Kafka, Flink, or Spark Structured Streaming pipelines
references/orchestration-patterns.mdChoosing or configuring an orchestrator (Airflow, Prefect, etc.)
references/storage-formats.mdChoosing Iceberg v2/v3, Delta 4.x, Hudi, Paimon, or DuckLake
references/governance-catalog.mdChoosing Polaris, Glue, Nessie, Unity, Gravitino, or Open Catalog
references/transformation-patterns.mdDesigning dbt or SQLMesh transformation layer
references/query-engine-patterns.mdChoosing Trino, Spark, DuckDB, ClickHouse, or StarRocks
references/bi-visualization-patterns.mdDesigning BI layer (Metabase, Superset, Looker, etc.)
references/data-quality-patterns.mdAdding GX, Soda, or custom quality contracts
references/security-access-patterns.mdConfiguring table/row/column policies and engine-level ACLs
references/operational-playbook.mdBuilding runbooks for compaction, recovery, and oncall
references/cost-optimization.mdEnforcing file-size targets, retention windows, and cost guardrails

Templates

Related Skills

Tool/Platform Recommendation Protocol

  1. Read data/sources.json and start from primary docs.
  2. Verify current platform behavior for catalogs, connectors, security, and interoperability.
  3. Distinguish open-standard behavior from vendor-specific behavior.
  4. Report defaults, tradeoffs, and what is still vendor-bound.
  5. If browsing is unavailable, state the limitation and mark recommendations as unverified.

Fact-Checking

  • This skill's dated facts (spec-version GA status, release numbers, contributor/PR counts, benchmark percentages) reflect a snapshot and go stale within weeks — the lakehouse catalog and format space ships GA and preview announcements monthly.
  • Before repeating a GA/preview/experimental status claim, verify it against a trust_tier: primary source in data/sources.json (project release notes, vendor release notes) rather than a blog or aggregator, which often blur preview and GA language.
  • Explicitly separate "the format spec supports X" from "this specific engine/vendor build supports X" — these routinely diverge (see Trino vs. Starburst on Iceberg v3; Databricks Public Preview vs. Snowflake/AWS GA on Iceberg v3).
  • If web access is unavailable, say so explicitly and mark version- or GA-status-dependent recommendations as unverified rather than presenting a frozen snapshot as current.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 5 个文件。

常见问题

Data Lake Platform AI 技能有什么作用?

设计基于 Iceberg、Delta、Hudi 和 Paimon 的湖仓平台。适用于选择目录、CDC 路径、查询引擎、治理方案或成本控制措施。

为什么在 TypingMind 中使用 Data Lake Platform?

因为您只需安装一次,就能搭配任何模型使用。Data Lake Platform 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Data Lake Platform?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/data-lake-platform。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Data Lake Platform?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Data Lake Platform 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Data Lake Platform 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Data Lake Platform AI 技能免费吗?

是的。vasilyu1983 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇