#querying
Posts tagged with #querying.
Agents & MCPLimits, defaults, and agent-safe query shapes
Agents ask for everything by default. datahashi ships agent-safe limits so the first query an agent runs is already bounded, typed, and reviewable.
QueryingReading compiled SQL to debug wrong answers
When a semantic query returns a number that feels wrong, read the compiled SQL. datahashi exposes it from `run_semantic_query` so you can see exactly how names became joins and filters.
QueryingRollups: answer hot questions without the warehouse
Rollups now ship in datahashi, hosted and self-hosted. Declare one in YAML, and the engine builds it through your Query Runner and answers matching queries from it - with the limits stated up front.
QueryingFilters that compose safely
Two filters interacting should narrow a result, not rewrite the metric. How datahashi treats filter composition as a first-class part of every semantic query.
QueryingHow semantic queries become SQL
A semantic query names metrics and dimensions; the warehouse still speaks SQL. Here's how datahashi compiles one into SQL you can inspect and trust.
QueryingSemantic Query 101: metrics × dimensions × filters
Introduce the semantic query triad so any consumer can ask the same question the same way.
Querying