Does Apache Hudi Remember Between Runs? Its Timeline Logs Every Action. Not the Reasoning.
Does Apache Hudi Remember Between Runs? Its Timeline Logs Every Action. Not the Reasoning. Yes, and its record is unusually complete for a storage system. A Hudi table does not start over when a new job arrives. Every change ever made to the table is written as an action on a timeline, the current files are catalogued in a metadata table, and earlier states can be revisited through savepoints and time travel queries. A pipeline that ran last night leaves behind a precise, ordered account of wha
Does Apache Hudi Remember Between Runs? Its Timeline Logs Every Action. Not the Reasoning.
Yes, and its record is unusually complete for a storage system. A Hudi table does not start over when a new job arrives. Every change ever made to the table is written as an action on a timeline, the current files are catalogued in a metadata table, and earlier states can be revisited through savepoints and time travel queries. A pipeline that ran last night leaves behind a precise, ordered account of what it did to the data.
What that account does not contain is why anything happened. The timeline remembers actions on files. It does not remember what an AI step working over those files concluded, decided, or was corrected on. Those are two different kinds of memory, and scheduled automations need both.
The timeline: a log of actions, not of thinking
Hudi's own documentation calls the timeline the source of truth for the state of the table. Changes to table state, including writes, table services, and schema changes, are recorded as actions at instants, points in time that increase monotonically across every process touching the table.
Each action moves through three states: REQUESTED, when it is scheduled, INFLIGHT, while it is being performed, and COMPLETED, when its changes are in place. The action types cover the full life of a table: COMMIT for an atomic batch write, DELTA_COMMIT for writes that land in log files on a merge-on-read table, REPLACE_COMMIT for atomically swapping file groups, plus CLEAN, COMPACTION, CLUSTERING, ROLLBACK, SAVEPOINT, and RESTORE.
Read that list again and notice what kind of memory it is. It is a perfect audit of operations. It answers which files changed, at which instant, and in what order. It cannot answer what the data meant. If a streaming job flagged a burst of duplicate orders at 02:00 and a later compaction folded those rows into new base files, the timeline shows the commit and the compaction. The observation about duplicates, and any decision made because of it, appears nowhere, because no action type exists for a conclusion.
File groups, slices, and the metadata table
Below the timeline, Hudi organises each partition into file groups. A file slice pairs a base file with its log files, and on merge-on-read tables those logs hold the inserts, updates, and deletes that a snapshot read merges on the fly until compaction folds them into fresh base files. Copy-on-write tables skip the logs and rewrite base files directly.
The metadata table keeps this structure usable between runs. It is itself a Hudi table, and it stores file listings, column statistics, and schema information so engines do not have to scan cloud storage to find what exists. An index in the metadata points each record key at the file group holding its current version, which is what makes an upsert a targeted write instead of a partition rewrite.
Again, the pattern is consistent: Hudi remembers where everything is and what state it is in. That is exactly what a table format should remember. It is also, by design, silent about everything that happened around the table: the checks an operator ran, the explanation attached to an anomaly, the instruction to watch one customer segment for another week.
Incremental queries and time travel: reading the past, on purpose
Two query types show how deliberately this memory can be read. An incremental query returns only the records inserted or updated since a given instant, and its change data capture form returns inserts, updates, and deletes with before and after images. A downstream job can therefore pick up exactly where the last run stopped, processing changes instead of recomputing the table.
Time travel goes the other way: a query can return the table as it was at a past instant or at a savepoint, which makes it possible to reproduce the exact dataset a model was trained on, or to restore the table after a bad write. A ROLLBACK action removes the files of a failed write, and RESTORE returns the table to a savepoint.
This is real, durable memory, and pipelines lean on it heavily. But notice who has to do the remembering work: a person or a job must know which instant to start from, which savepoint matters, and why that state was worth returning to. Hudi keeps the states. The reasons for choosing one state over another live outside it, usually in a runbook, a ticket, or someone's head.
What no timeline entry can hold
Consider a scheduled lakehouse pipeline with AI steps in it: one job classifies incoming records, another summarises the night's changes, a third drafts the morning report for a team channel. Hudi serves all three faithfully. It commits their outputs, indexes their records, and archives their instants.
Now ask what the second night's run knows. It knows the table state, because the timeline guarantees it. It does not know that last night's classifier grouped a set of records as a tracking bug rather than a demand spike, that a reviewer corrected that grouping in the team channel, or that the report promised to recheck one segment today. None of that was a table action, so none of it was recorded. The run re-derives its understanding from the data, repeats the same investigation, and can repeat the same corrected mistake, because the correction was never stored anywhere the run can read.
The missing layer is memory shared across tools
Storage memory and working memory solve different problems, and the second one needs a layer of its own. Vilix AI is built to be that layer. It is cloud-hosted, so there is zero infrastructure to run: no extra table to maintain, no service beside the pipeline. The Hudi jobs, the automations around them in tools such as n8n or Make, and the AI assistants a team talks to in chat all connect over MCP, the standard protocol AI tools use to reach external systems, and they read and write one shared memory.
Two properties matter for scheduled work. First, Vilix AI stores full conversation history, not just extracted facts, so the reasoning behind a classification, including the correction that overturned it, stays available as context. Second, the memory is the same everywhere it is connected: a finding saved by a night run can be read in the morning by a different automation and by the person reviewing the report, with no export step in between.
Vilix AI has a free plan that stays free forever, and a 7-day Pro trial that needs no card. Everything stored can be exported or deleted at any time.
Let each layer remember what it is good at
Keep Hudi doing the job its timeline was designed for: atomic commits, indexed upserts, incremental reads, and a table state that can be trusted and revisited. Add a shared memory layer for the part no timeline entry can hold: what the AI steps across your tools found, decided, and learned while working over that table. A pipeline that starts each run knowing what the last run concluded is a different tool from one that only knows which files the last run wrote.