Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Booking.com Engineering 9 min read Case study easyNovice

Beyond the Dashboard: Accelerating Real-Time Intelligence in the Age of AI

Booking.com built a "talk to your data" self-serve analytics setup on Snowflake: semantic views define consistent business metrics, dimensions and table relationships, and Snowflake Agents translate natural-language questions into SQL against them. Answers produced from expert-verified queries are badged as verified. Changes to semantic definitions go through dbt and GitLab merge requests that need two approvals. A worked example uses Tableau workbook telemetry from the Hadoop-to-Snowflake migration. Acknowledged tradeoffs are semantic-layer maintenance debt, higher compute and token costs (mitigated with dedicated warehouses, timeouts and guardrails), and silent hallucinations on unverified questions.

Assumes: data warehousesSQL basicsdbt

Related posts

  • Institutional knowledge doesn't scale: Building an agentic data analyst

    incident.io mediumAdept

    incident.io built an internal "data brain" agent that answers business questions against BigQuery by encoding institutional analyst knowledge rather than relying on raw text-to-SQL. A query skill routes the agent through per-domain themes, vetted SQL examples and schema subsets hydrated at compile time by a Go CLI from the semantic layer, dbt manifest and BigQuery metadata. A guarded data_query tool dry-runs SQL, enforces table allow-lists and scan limits, and logs every call with the guidance consulted. Examples are bootstrapped from certified dashboard SQL, and a theme-audit routine catches guidance rot such as stale examples, missing coverage and trigger-phrase collisions. Over half the company uses it weekly, with near 60% week-on-week retention.

  • How Suprema Gaming made its data platform agent-ready with ClickHouse Cloud

    ClickHouse mediumAdept

    Suprema Gaming moved its analytics warehouse from Snowflake to ClickHouse Cloud so that AI agents could query fresh, governed data directly. Ingestion now uses ClickPipes CDC and Debezium/Kafka in place of S3/Snowpipe batches, and dbt deployed via GitHub Actions defines layered transformations with no external orchestrator. Data freshness went from four hours to a p95 lag of about one minute, mart reads got 27x faster, and warehouse spend fell roughly 62%. Metrics were validated to the cent through an agent-assisted loop that captures each rule as a dbt test, and a fleet of 10 specialized agents with version-controlled skills, traced in Langfuse, serves business users.

  • How Fetch built its flexible agentic analytics tool on ClickHouse Cloud

    ClickHouse easyNovice

    Fetch built FAST, a conversational BI agent that lets non-technical sales teams query receipt purchase data in plain language, on ClickHouse Cloud ingesting 150 billion rows (6.5 TB compressed) a day. Ad hoc queries such as same-receipt basket intersections scan hundreds of millions of rows in under a second, and median agent response time is 1.9 seconds across about 500 daily queries. The team picked ClickHouse for its ad hoc query speed, compute isolation between concurrent queries and simple scaling. A nightly pipeline copies data from Snowflake to S3, loads it via ClickPipes into a new versioned wide table, then repoints a view at it. That keeps LLM-generated queries stable and makes rollback trivial, at the cost of skipping incremental loads.

  • Inside OpenAI’s in-house data agent

    OpenAI mediumAdept

    OpenAI built an internal GPT-5.2-powered data agent that answers natural-language analytics questions over a platform of 600+ PB and 70k datasets, available via Slack, web, IDEs, Codex CLI and ChatGPT through MCP. Its accuracy rests on six layers of context: table usage and lineage, human annotations, Codex-derived code-level table definitions, institutional knowledge from Slack/Docs/Notion, a user-correctable memory, and live warehouse queries. A daily offline pipeline normalizes and embeds this context for RAG retrieval, keeping latency predictable across tens of thousands of tables. Quality is protected with Evals API test sets that compare generated SQL output against golden queries.

  • Building a RAG pipeline for Google Analytics with ClickHouse and Amazon Bedrock

    ClickHouse mediumAdept

    A natural language interface over raw Google Analytics data stored in ClickHouse is built as a multi-step RAG pipeline that generates SQL from user questions using Amazon Bedrock models. Drawing on text-to-SQL research such as DAIL-SQL from the Spider benchmark, the design retrieves similar example questions and their SQL via vector embeddings, because concepts like "returning users" cannot be inferred from the schema alone. Embeddings come from a Python executable-pool UDF calling Titan embeddings, with retries and backoff for Bedrock quotas, and are invoked at query or insert time. ClickHouse serves as both the vector store and the analytics database, and specific settings are given to parallelize embedding generation on small tables.

The quest for software engineering knowledge.

Look:
Layout: