# Before You Model a Single Table: Data Modelling Questions to Ask for AI Agents in Snowflake

DevFeed: [Before You Model a Single Table: Data Modelling Questions to Ask for AI Agents in Snowflake](<https://devfeed.tech/articles/before-you-model-a-single-table-data-modelling-questions-to-ask-for-ai-agents-in-snowflake-116418.md>)

Original publisher: [Read original article](<https://medium.com/snowflake/before-you-model-a-single-table-data-modelling-questions-to-ask-for-ai-agents-in-snowflake-0ac71edf8172?source=rss----34b6daafc07---4>)

Author: Cesar Segura

Published: 2026-11-03T19:31:02Z

Content type: article

Language: en

Sources: [Snowflake Builders](<https://devfeed.tech/sources/snowflake-builders.md>)

Topics: [schema design](<https://devfeed.tech/topics/schema-design.md>), [semantic-layer](<https://devfeed.tech/topics/semantic-layer.md>), [JOIN](<https://devfeed.tech/topics/join.md>), [text2sql](<https://devfeed.tech/topics/text2sql.md>), [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [knowledge-engineering](<https://devfeed.tech/topics/knowledge-engineering.md>), [business logic](<https://devfeed.tech/topics/business-logic.md>), [AI Architecture](<https://devfeed.tech/topics/ai-architecture.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [aggregation](<https://devfeed.tech/tags/aggregation.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [analyst](<https://devfeed.tech/tags/analyst.md>), [architect](<https://devfeed.tech/tags/architect.md>), [article](<https://devfeed.tech/tags/article.md>), [business](<https://devfeed.tech/tags/business.md>), [business-analyst](<https://devfeed.tech/tags/business-analyst.md>), [column](<https://devfeed.tech/tags/column.md>), [cortex](<https://devfeed.tech/tags/cortex.md>), [cortex-agent](<https://devfeed.tech/tags/cortex-agent.md>), [data](<https://devfeed.tech/tags/data.md>), [data-modelling](<https://devfeed.tech/tags/data-modelling.md>), [generative-ai-tools](<https://devfeed.tech/tags/generative-ai-tools.md>), [governance](<https://devfeed.tech/tags/governance.md>), [model](<https://devfeed.tech/tags/model.md>), [modelling](<https://devfeed.tech/tags/modelling.md>), [ontology](<https://devfeed.tech/tags/ontology.md>), [questions](<https://devfeed.tech/tags/questions.md>), [snowflake](<https://devfeed.tech/tags/snowflake.md>), [table](<https://devfeed.tech/tags/table.md>)

## AI overview

AI agents infer query logic from schemas, so ambiguous grain, joins, dates and metric meanings can produce incorrect SQL. The article recommends documenting and testing each fact table's grain, exposing clear business columns, defining relationships and metric logic explicitly, and using scoped Snowflake Semantic Views over curated data. It distinguishes the executable query and metric layer (Semantic Views) from governed business definitions (Business Ontology) and AI-inferred context (Cortex Sense); ontology formulas document meaning, while Cortex Analyst executes the Semantic View expression, so they must stay aligned. It also advises profiling performance under realistic workloads and repeatedly evaluating representative business questions, including join, double-counting, ambiguity and permission cases. Business Ontology and Cortex Sense are noted as preview features as of October 2026.

## Source excerpt

A Snowflake Architect's guide to designing data that AI agents can actually understand Questions prior to modelling in Snowflake for your agents Every few weeks someone asks me the same thing: "We want a Cortex Agent on top of our data. How should we model it?" The honest answer is that most of the questions behind that sentence are not about the agent. They are modelling questions we should have answered years ago, and an agent now exposes them in public. A business analyst carries a lot of tacit knowledge: which date really means "sale", which orders are cancelled, what "revenue" means for Finance versus Sales. An agent has none of that. It reads your schema, infers, and writes SQL. Every ambiguity becomes an inference, and every inference is a chance for a wrong join, filter or aggregation. In this article we will walk through the six questions I ask teams before they start modelling: grain, shape, semantic views, business meaning, performance and evaluation. We will close with a checklist you can take to your next design session. Index 1. Why agents change the rules 2. Question 1: What is the grain, and does every column mean one thing? 3. Question 2: Star, snowflake or wide table, and how many joins are too many? 4. Question 3: How big should a Semantic View be? 5. Question 4: Who owns the meaning of a metric? 6. Question 5: Does physical performance still matter? 7. Question 6: How will we know it works? The Big Picture Conclusions References About Me 1. Why agents change the rules The first thing I explain is that an agent solution is not one model; it is a stack of layers, each with a different job. Confusing them is the root of most disappointing proofs of concept. Curated physical model: tables, views, facts, dimensions, types, keys and quality tests. It represents the data faithfully and consistently. Semantic View: the executable semantic layer. It describes how to query a domain and how to calculate its metrics: logical tables, relationships, dimensions