September 30, 2026 · Governed AI analytics · Semantic layer
The Failure That Starts Before SQL
Wrong fields, unexplained choices, and silent interpretation changes can begin before query generation—when the intended analysis was never made explicit.
Venkatesh Seetharam
Co-founder & CEO
Harish Butani
Co-founder & CTO
Some analytics failures begin in SQL. Others begin earlier, when nobody made the intended analysis explicit.
The symptoms can look unrelated: wrong field, conflicting metric, unexplained choice, unsafe fallback, or a result that changed and nobody knows why. These do not always have one root cause. But a recurring class begins before execution.
From nouns to analytical choices
Semantic layers govern valuable business nouns: measures, dimensions, hierarchies, joins, and approved calculations. Ordinary questions also contain choices about population, comparison, period, grain, filters, and analytical operations.
When those choices are not represented, each stage has to infer what it needs. Retrieval may rank a likely definition. Query generation may bind a plausible field. A labeling step may describe what emerged. The result can be technically coherent even when nobody can point to the intended analysis that authorized it.
Four symptoms to inspect
The missing interpretation can show up as:
- a wrong binding: a plausible field implements the wrong business identity;
- an unsafe fallback: a less constrained path emits an answer after the governed path cannot commit;
- a silent meaning change: context or phrasing changes the interpretation without making that change visible;
- missing provenance: the system can show SQL but cannot explain why it selected one valid definition over another.
Other causes exist. Bad source data, broken joins, stale models, and ordinary software defects still matter. The point is not to reduce every analytics failure to ambiguity. It is to recognize a class of failures that cannot be fixed by SQL accuracy alone.
A bounded design response
Make the intended analysis inspectable before execution. Ground it in the context available. Ask when unresolved meaning could materially change the analysis. Record the clarification or acceptance. Generate the query with the question and plan, then check material bindings.
This does not guarantee correctness, identical outputs, or complete semantic coverage. It creates a place where business meaning can be reviewed before the answer becomes harder to challenge.
If several AI-analytics problems keep resurfacing, ask when the system first made the intended analysis explicit. If the answer is “after the query was generated,” the failure may have started earlier than the team is debugging.
Run the buyer test: How to Evaluate an AI Analyst Before It Touches Production