Execute a Hudi incremental query to fetch only changed records since a given commit timestamp

domain: hudi.apache.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Identify the begin instant timestamp by inspecting the .hoodie timeline directory or by querying the table for the latest successful commit that your downstream consumer has already processed
  2. Configure the Spark read for incremental mode by setting hoodie.datasource.query.type=incremental, hoodie.datasource.read.begin.instanttime=<yyyyMMddHHmmss>, and optionally hoodie.datasource.read.end.instanttime=<yyyyMMddHHmmss> for a bounded window
  3. Issue the read: spark.read.format('hudi').options(incrementalOptions).load('<table_path>') — for COW tables this reads base files written in the time range; for MOR tables you should use read-optimized query type or ensure the snapshot includes compacted data
  4. The result contains all records inserted or updated in the instant range; use the _hoodie_commit_time metadata column to track exactly which commit each record came from for your downstream checkpoint
  5. Persist the latest _hoodie_commit_time seen in each batch as your checkpoint; on the next run pass this value as begin.instanttime to avoid reprocessing records

Known gotchas

Related routes

Execute a Hudi incremental query to fetch only records changed since a given commit timestamp
hudi.apache.org · 5 steps · unrated
Configure a Hudi Record-Level Index (RLI) to accelerate upsert lookup performance on large tables
hudi.apache.org · 5 steps · unrated
Incrementally sync changed Employee Central records using lastModifiedDateTime queries against effective-dated entities
help.sap.com · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans