A single place to find and query raw and ready data: one catalog, one access rule and one query that serve dashboards, SQL and AI without copying anything.
01The problem
Two storehouses. Two numbers.
For years, companies stored the data twice: everything in a cheap place, and a tidy part in an expensive one. Lakehouse architecture exists to put an end to the second copy.
The data leaves the system, lands in one storehouse and is copied to another. Each copy has its own rule and its own date.
The data lake stores everything as it arrived: file, record, event. It is cheap and refuses nothing. It guarantees nothing either. With no schema and no rule, it becomes a place where a lot is kept and little is found.
The data warehouse is the opposite. Only what was modeled goes in, queries are fast and the number is trustworthy. It costs more to grow and does not serve well what is not a table.
Whoever has both keeps a bridge between them. The bridge copies, and the copy ages. The dashboard reads the warehouse, the data scientist reads the lake, and the two show up to the meeting with different numbers.
What the copy costs
The copy ages
Between yesterday's load and today's question, the data changed at the source. The dashboard shows the past, and nobody knows from when.
updated: yesterday, 02:00
The rule does not travel
The permission holds in the source system. In the copy, someone has to remember to write another one, and to remove it when the person changes departments.
cpf · visible in the copy
The math splits
Each storehouse computes its own way. The same metric gets two definitions and two answers.
revenue: 48.2 or 59.6?
The cost doubles
Two storages, two engines, two teams and a load routine just to keep the two in agreement.
nightly load · 3 h 40 min
02The idea
Three designs. The third joins the two.
Lakehouse is not a product. It is a way of arranging catalog, rule and query so that the cheap place and the trustworthy place are the same one. In the market definition, that includes storing everything in a single storage. This page follows what changes day to day: how the data is found, protected and read.
Data lake
Stores everything, as it arrived.
What it stores
Anything: file, record, event.
Structure
Decided on read, by whoever reads.
Governance
By folder and by file.
Serves well
Data science and exploration.
Where it fails
With no guarantee, the dashboard does not trust the number.
Data warehouse
Only what was modeled.
What it stores
Tables with a defined schema.
Structure
Decided on write, by whoever loads.
Governance
By table, column and row.
Serves well
BI and reports.
Where it fails
Expensive to grow and closed to what is not a table.
Lakehouse
One place. Both guarantees.
What it stores
Raw and ready, in the same catalog.
Structure
Grows by layer: loose in raw, firm in ready.
Governance
A single one, by table, column and row, across all layers.
Serves well
BI, SQL, data science and AI, on the same data.
What it requires
A catalog and layer discipline. Without that, it becomes a lake again.
03How it works
One catalog. One query door.
The data matures in three layers and is read through a single query. The catalog and the access rule apply to all three layers, to the sources left outside and to every use.
Lakehouse architecture, from source to useExample with fictitious names.
Who reads what:
Tap a use to see the layer it reads.
A pipeline loads the raw layerThe transactional database, the files and the events reach the raw layer as they came from the source.
RawAs it arrived. Nothing is lost, and it serves as proof.pedidos_bruto
RefinedClean and typed, with no duplicates and the key checked.pedidos
ReadyModeled for the business question.receita_por_uf
Single governanceCatalog, access rule, lineage and audit apply the same in all three layers.
QueryOne SQL engine reads the three layers and also the system left outside, without copying.
Four uses, one doorBI reads the ready layer. SQL reads refined and ready. The notebook reads raw and refined. AI reads with the asker's rule.
The layers are a process.A pipeline takes the data from raw to refined to ready. Every run is recorded, task by task.
The rule is a single one.The catalog, the access rule, lineage and audit cover all three layers. BI, SQL and AI go through the same rule.
What is outside stays outside.Federated query reads the source where it is. Data that does not need to live in the lakehouse is not copied into it.
Raw. Refined. Ready.
01 · Raw
Store it as it arrived.
The raw layer takes the data without fixing anything: the date in two formats, the repeated row, the empty field. It is the record of what the source sent. It is from here that you reprocess when a rule changes.
pedidos_bruto · 4 rows · as it arrived
02 · Refined
Clean once, for everyone.
The refined layer has type, key and format checked. The duplicate is dropped. The row that fails the rule goes to quarantine, with the reason. Each fix is made in one place only.
1 duplicate removed · 1 row in quarantine
03 · Ready
Model it for the question.
The ready layer answers the business question: revenue by state and by day. It is the one the dashboard and the AI assistant read. The math is already done, and it is the same for everyone.
receita_por_uf · 2 rows
04 · Reading
Each use reads its layer.
The dashboard reads the ready layer. The analyst goes down to refined when they need the detail. The audit goes back to raw to see what the source sent. The path between the three is recorded.
the quarantined row only enters the count once it is resolved
Dashboard and AIread the ready layer
Analyst and notebookgo down to refined
Auditgoes back to raw
05The principles
Six principles. None is optional.
An architecture only deserves the name when all six hold at the same time. Remove one and what is left is a storehouse with another name.
The query
The query goes to the data
A single engine reads the three layers and the sources that stayed where they were. Joining two sources does not require copying either.
3 sources · 0 tables copied
One catalog with an address
Every table, from any source, shows up in the same catalog, with a three-part address. That is how the data is found and how access is requested.
catálogo.schema.tabela
The control
The rule decides at execution
Every access is a written rule: who, which data, until when. Column masking and row filtering apply to any tool that queries. Without a rule, the answer is no.
cpf → last 4 · region = 'BR'
Everything is written down
Lineage says who read and who wrote each table. The audit keeps every access decision in an append-only record.
data-access · denied
The use
The layers are a process
Raw, refined and ready are not three storehouses. They are stages of a pipeline with versions, schedules and a record of every run.
vendas_diario · 5 of 5 tasks
Every use on the same data
The dashboard, the SQL query, the notebook and the AI assistant read the same tables, each with the identity of whoever asks. Nobody exports a copy to work on.
dashboard · SQL · notebook · AI
06Federated query
Not every dataset needs to move.
Federated query reads the source where it is and joins the result with what already lives in the lakehouse. It avoids the copy. It does not replace the ready layer.
Query it where it isfederate · the data does not move
The data changes all the time and the answer has to be the one from now.
The question is occasional: a check, an exploration, a new cross-reference.
The source has its own owner and rule, and copying would create a second rule to maintain.
The volume read is small compared with the size of the table.
Bring it into a layermaterialize · compute once and keep
The same math runs every day, for many people, and the result can be computed once.
The source cannot take the analytical query load without hurting operations.
You need to keep the history that the source deletes or overwrites.
The question crosses many sources and response time matters.
In both cases the access rule is the same, because it lives in the catalog, not in the copy.
07Common mistakes and evaluation
Where it goes wrong. And what to ask.
The mistakes below are about design, not tools. The list of questions works to evaluate any solution, including ours.
Six common mistakes
Calling the data lake a lakehouse
Changing the name without a catalog, without layers and without an access rule does not change what you have.
Skipping the refined layer
From raw straight to the dashboard, each report redoes the cleaning its own way. Fixes multiply and disagree.
Governing later
The access rule that arrives after the data finds copies nobody knows the location of anymore.
Copying out of habit
Bringing every whole source inside, even the one that would be read once a month, recreates the problem the architecture came to solve.
A catalog with no owner
A table with no owner and no description is found, but nobody trusts it. The catalog is worth what people keep in it.
One rule per tool
If the dashboard applies the mask and the notebook does not, the rule does not exist. It has to sit below the tools.
Ten questions to evaluate0 of 10 checked
Tick what the solution being evaluated has already shown working, not what is in the sales material.
08Frequently asked questions
The usual questions.
What usually comes up in the first conversation on the subject, answered without depending on a product.
Does the lakehouse replace the data warehouse?
It replaces the need to keep both. The ready layer plays the warehouse role: modeled tables, fast queries, trustworthy numbers. The difference is that it sits in the same catalog as the raw data, under the same rule.
Whoever already has a warehouse does not have to switch it off on day one. It can be read as one more source.
What is the difference from data mesh?
They answer different questions. Lakehouse is a technical architecture: where the data lives and how it is read. Data mesh is an organizational model: each area owns its data and publishes it as a product.
The two combine. A single catalog, with rules per owner, is what lets several areas publish in the same place.
Is federated query slow?
It depends on what you ask. It is good when it reads a little from a source that changes a lot. When the same heavy math runs every day, the right move is to compute once and keep it in the ready layer. A good architecture uses both and makes clear which is which.
Do I need to migrate everything at once?
No. The usual path starts with one subject: two or three sources, one business question and the three layers for it. The rest stays where it is and joins as a federated source, until it makes sense to bring it in.
Where does AI fit in?
As one more reader. An assistant or an agent queries the ready layer through the same door and with the same rule as the analyst. That is the gain for AI: it needs no copy of the data of its own, and no separate permission.
What about data that is not a table?
Files, like a targets spreadsheet, come in as a source and get an address in the catalog. What you extract from a document, like a field read from a contract, goes through the layers like any other data.
09From concept to product
Infinite Data
How NNumbers puts it to work.
Infinite Data applies the architecture from the query and governance side: it joins the sources where they are, without copying, and decides at execution who sees what. The table below lists only what exists in the product today.
Every access is a Data Rule: who, which data, with what permission, until when and with which protections. By default, nothing is allowed. Column masking and row filtering apply at execution.
Runs, schedules and versions of the data pipelines, per environment. Each run shows the flow task by task, with state, duration and log. Rerunning starts again from the tasks that did not complete.
A possible integration, not a mandatory one. Imaginne queries Infinite Data with the permissions of whoever asks, and Agents uses QueryMesh as a tool in a flow.
vendas.pedidos · updated 4 min ago
QueryMeshconnected3 federated sources
TrustLayer applied⌘⏎
Revenue by customerTop SKUs by turnoverNew queryMax. rows 500
Object storage and lakehouse · arquivos/metas-2026.csv
93%
2 datasets
The goals spreadsheet comes in through object storage and warns when the file gets stale — the source stays queryable.
Real product screen · sample data · three sources in one query, no copy, with TrustLayer masking
The query above reads each source where it is. When the same math has to run every day, a pipeline computes once and publishes the ready table.
vendas_diarioCompleted04:00 · 4m 24s
5 of 5 tasks
1 · InputExtract ordersCompleted · 1m 36s
2 · ValidationValidate integrityCompleted · 38s
3 · MetricsCalculate revenueCompleted · 1m 28s
3 · EnrichmentEnrich channelsCompleted · 1m 14s
4 · PublishingPublish the martCompleted · 42s
5 tasks completedpartition published0 queued
Tasks5 of 5 tasks completed · click a task to see its log
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
Log—
Run completed. Lines stay in the run history.
vendas_diarioQueued04:00 · waiting for a slot
0 of 5 tasks
1 · InputExtract ordersNot started
2 · ValidationValidate integrityNot started
3 · MetricsCalculate revenueNot started
3 · EnrichmentEnrich channelsNot started
4 · PublishingPublish the martNot started
0 tasks completedwaiting for a slot5 queued
Tasks0 of 5 tasks completed · click a task to see its log
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
Log—
Nothing running yet: log lines appear when the first task starts.
vendas_diarioRunning04:00 · 2m 44s elapsed
0 of 5 tasks
1 · InputExtract ordersRunning · 1m 36s
2 · ValidationValidate integrityNot started
3 · MetricsCalculate revenueNot started
3 · EnrichmentEnrich channelsNot started
4 · PublishingPublish the martNot started
0 tasks completedExtract orders4 queued
Tasks0 of 5 tasks completed · click a task to see its log
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
LogExtract orders
04:00:12INFOconnected to erp.pedidos
04:01:19INFO1.2M rows read in the last 24 h
04:02:26INFO1.2M rows written to the staging area
vendas_diarioRunning04:00 · 2m 44s elapsed
1 of 5 tasks
1 · InputExtract ordersCompleted · 1m 36s
2 · ValidationValidate integrityRunning · 38s
3 · MetricsCalculate revenueNot started
3 · EnrichmentEnrich channelsNot started
4 · PublishingPublish the martNot started
1 task completedValidate integrity3 queued
Tasks1 of 5 tasks completed · click a task to see its log
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
LogValidate integrity
04:00:12INFO0 orphan keys in pedido_id
04:01:19INFOschema compatible with version 12
vendas_diarioRunning04:00 · 2m 44s elapsed
2 of 5 tasks
1 · InputExtract ordersCompleted · 1m 36s
2 · ValidationValidate integrityCompleted · 38s
3 · MetricsCalculate revenueRunning · 1m 28s
3 · EnrichmentEnrich channelsRunning · 1m 14s
4 · PublishingPublish the martNot started
2 tasks completedCalculate revenue1 queued
Tasks2 of 5 tasks completed · click a task to see its log
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
LogCalculate revenue
04:00:12INFOnet revenue for the day: R$ 4,512,980.44
04:01:19INFOaverage ticket: R$ 1,836.11
vendas_diarioCompleted
04:00 · 4m 24s
5 of 5 tasks
1 · InputExtract orders
2 · ValidationValidate integrity
3 · MetricsCalculate revenue
3 · EnrichmentEnrich channels
4 · PublishingPublish the mart
5 tasks completedpartition published
Tasks5 of 5 completed
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
vendas_diarioQueued
04:00 · 4m 24s
0 of 5 tasks
1 · InputExtract orders
2 · ValidationValidate integrity
3 · MetricsCalculate revenue
3 · EnrichmentEnrich channels
4 · PublishingPublish the mart
0 tasks completedwaiting for a slot
Tasks0 of 5 completed
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
vendas_diarioRunning
04:00 · 4m 24s
0 of 5 tasks
1 · InputExtract orders
2 · ValidationValidate integrity
3 · MetricsCalculate revenue
3 · EnrichmentEnrich channels
4 · PublishingPublish the mart
0 tasks completedExtract orders
Tasks0 of 5 completed
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
vendas_diarioRunning
04:00 · 4m 24s
1 of 5 tasks
1 · InputExtract orders
2 · ValidationValidate integrity
3 · MetricsCalculate revenue
3 · EnrichmentEnrich channels
4 · PublishingPublish the mart
1 task completedValidate integrity
Tasks1 of 5 completed
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
vendas_diarioRunning
04:00 · 4m 24s
2 of 5 tasks
1 · InputExtract orders
2 · ValidationValidate integrity
3 · MetricsCalculate revenue
3 · EnrichmentEnrich channels
4 · PublishingPublish the mart
2 tasks completedCalculate revenue
Tasks2 of 5 completed
Extract orders1m 36s
Validate integrity38 s
Calculate revenue1m 28s
Enrich channels1m 14s
Publish the mart42 s
Real product screen · sample data · a pipeline takes orders from raw to the ready table
A rule created or revoked takes effect in QueryMesh within about 60 s. Whoever has no rule gets a 403, which does not even confirm whether the table exists. The data does not have to move to get started: the sources you already have come in through the catalog. Infinite Data can be adopted on its own. With Ontology, Imaginne and Agents, the same data gains meaning, conversation and automation.