Logo: Apache Hudi Lakehouse

Apache Hudi Lakehouse

Communautéit
vaquarkhan
apache-hudi-lakehouse

Leet Agenten duerch den Entworf vun Apache Hudi-Lakehouses. Benotzt dëse Skill fir inkrementell Upserts, Mutatiounen op Rekordniveau, Timeline-Verhalen, Compaction an Hudi-baséiert Lakehouse-Tabellen ze verwalten.

Add to TypingMind

Iwwersiicht

Editeurvaquarkhan
Repositorydata-engineering-agent-skills
Skill-Nummapache-hudi-lakehouse
Stären
60
Forks
8
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    vaquarkhan huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Apache Hudi Lakehouse an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/vaquarkhan/data-engineering-agent-skills/tree/main/skills/apache-hudi-lakehouse
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vaquarkhan/data-engineering-agent-skills.git /tmp/data-engineering-agent-skills
mkdir -p .claude/skills
cp -r /tmp/data-engineering-agent-skills/skills/apache-hudi-lakehouse .claude/skills/apache-hudi-lakehouse
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Apache Hudi Lakehouse an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Apache Hudi Lakehouse automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Apache Hudi Lakehouse net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Apache Hudi Lakehouse

Overview

Use this skill when Apache Hudi is the primary table layer for incremental lakehouse workloads. It helps agents reason about mutation-heavy patterns, table type selection, compaction behavior, timeline safety, and consumer expectations across read-optimized and real-time query paths.

When to Use

  • choosing or operating Apache Hudi for lakehouse tables
  • building record-level upsert or delete pipelines
  • managing compaction, clustering, and incremental consumption
  • supporting lakehouse tables with heavy mutations (CDC sinks, slowly changing dimensions)
  • planning multi-engine access (Spark, Presto, Trino, Athena, Hive)

Do not use this when the workload is append-only with no mutation requirements and simpler formats like Parquet or Iceberg would suffice.

Workflow

  1. Define mutation patterns and read access expectations. Include:

    • primary record key and partition path
    • expected operations: inserts, upserts, deletes, or bulk replaces
    • read latency expectations: are readers okay with merge-on-read or do they need read-optimized snapshots?
    • query engines that must access the table
    • expected write throughput and record mutation rate
  2. Choose the right table type and indexing strategy.

    • Copy-on-Write (COW): best for read-heavy workloads, produces columnar snapshots on write
    • Merge-on-Read (MOR): best for write-heavy workloads, defers merge to read time or compaction
    • choose record index type: BLOOM, GLOBAL_BLOOM, SIMPLE, BUCKET, or RECORD_INDEX
    • index choice affects upsert performance and scaling behavior
    • document why the table type was chosen — revisiting later is expensive
  3. Plan compaction and clustering explicitly.

    • for MOR tables: compaction converts log files to columnar — it is not optional
    • define compaction strategy: synchronous (inline) or asynchronous (scheduled)
    • set compaction triggers: by number of commits, time, or log file size
    • clustering reorganizes data layout for query performance — plan separately from compaction
    • budget compute for compaction and clustering in cost planning
  4. Design incremental consumption and downstream contracts.

    • Hudi supports incremental queries by commit timeline
    • define the consumer contract: which commit instant do consumers start from?
    • plan for consumer resets and bootstrap reads
    • document how schema changes affect incremental consumers
    • test that consumers handle compaction and rollback instants correctly
  5. Handle schema evolution and timeline safety.

    • Hudi supports schema evolution but not all changes are safe across readers
    • column adds are generally safe; renames and type changes require care
    • define compatibility expectations per reader engine
    • rollback instants can confuse consumers — document rollback behavior
    • archive policy affects timeline visibility for late consumers
  6. Plan operations, monitoring, and recovery.

    • monitor timeline growth, pending compactions, and inflight commits
    • alert on compaction backlog and write failures
    • plan for rollback: Hudi supports instant-level rollback, but consumers must handle gaps
    • define retention and archival for the Hudi timeline
    • document backup and restore procedures for critical tables

Common Rationalizations

RationalizationReality
"Hudi handles upserts so we don't need to think about keys."Record key and partition path design determines correctness, performance, and scaling. Wrong keys cause silent data loss or duplication.
"MOR is always better because writes are faster."MOR defers work to compaction and read time. Without compaction planning, read performance degrades unboundedly.
"Compaction will just happen in the background."Compaction requires explicit scheduling, compute budget, and monitoring. Unmanaged compaction leads to reader degradation and timeline bloat.
"All query engines see the same data."COW and MOR tables expose different snapshots to different query types. Read-optimized queries on MOR tables see only compacted data.

Red Flags

  • record key chosen without understanding uniqueness guarantees
  • MOR table with no compaction schedule or monitoring
  • incremental consumers have no documented starting instant or reset procedure
  • schema changes deployed without testing across all reader engines
  • no monitoring of timeline growth, pending compactions, or inflight commits
  • clustering is never run despite increasing query scan ranges
  • rollback behavior is undocumented and consumers assume a linear timeline
  • index type is default without analysis of key cardinality and write patterns

Verification

  • Record key, partition path, and mutation semantics are explicitly documented
  • Table type choice (COW vs MOR) is justified with read/write trade-off analysis
  • Compaction is scheduled, monitored, and budgeted for compute cost
  • Incremental consumer contracts define starting instants and reset behavior
  • Schema evolution paths are tested across all target query engines
  • Timeline monitoring covers pending compactions, inflight commits, and archival
  • Rollback behavior is documented and consumers handle timeline gaps safely

Heefeg gestallte Froen

Wat mécht de KI-Skill Apache Hudi Lakehouse?

Leet Agenten duerch den Entworf vun Apache Hudi-Lakehouses. Benotzt dëse Skill fir inkrementell Upserts, Mutatiounen op Rekordniveau, Timeline-Verhalen, Compaction an Hudi-baséiert Lakehouse-Tabellen ze verwalten.

Firwat Apache Hudi Lakehouse op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Apache Hudi Lakehouse besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Apache Hudi Lakehouse an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/vaquarkhan/data-engineering-agent-skills/tree/main/skills/apache-hudi-lakehouse an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Apache Hudi Lakehouse benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Apache Hudi Lakehouse benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Apache Hudi Lakehouse domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Apache Hudi Lakehouse gratis?

Jo. vaquarkhan huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇