Natural-language analytics tools turn a marketing question into SQL and return a number. Before anyone acts on that number, the team needs a set of test questions with approved answers, one written definition for each metric, and a routine for re-testing after every change. Databricks and Snowflake both document this testing workflow for their own tools.
Key Takeaways
- Write each metric definition down before you test anything, because the tool can't know which meaning your finance lead signed off.
- Build a benchmark set of questions with approved SQL, and let the metric owner approve each answer.
- Test two to four phrasings of each question against the same approved SQL.
- Keep an absolute-date and a relative-date version of every time-based question.
- Pin the scoring version, run the set several times, and keep your own record of the scores.
Why does a plausible answer still need checking?
These tools write SQL from a plain question and return a table, and the answer reads as confident whether it's right or wrong. Databricks says that "Like other large language models (LLMs), Genie can exhibit non-deterministic behaviors", so the same question can return different output on a different day.
Marketing makes this sharper because the vocabulary is loose. "Active customer", "conversion" and "last quarter" mean different things in different teams. The tool can't know which meaning your finance lead signed off unless somebody writes it down.
What should a benchmark set contain?
Both vendors let you store questions with a known correct SQL answer and score the tool against them. Databricks allows up to 500 benchmark questions per Genie Agent, and Snowflake uses verified queries as its evaluation set. Start far below that limit, because a set you've reviewed line by line is worth more than a padded one.
Databricks recommends that "Most Genie Agents should include between two and four phrasings of the same question." For marketing, that means asking about email purchasers three ways: by campaign name, by send, and by the plain phrase a manager would use. Give every phrasing the same approved SQL.
The person who owns the metric should approve each correct answer, not the person who built the tool. The builder knows how the data is shaped, but the owner knows what the number is supposed to mean.
How do the two vendors score an answer?
The mechanics differ, and the differences decide what you can trust a score to tell you.
| Aspect | Databricks Genie Agents | Snowflake Cortex Analyst |
|---|---|---|
| Ground truth | A SQL Answer attached to a benchmark question | A verified query on the semantic view |
| How it compares | Result sets against the SQL Answer, or an LLM judge in Agent mode | Executes the generated SQL and compares results to the verified queries |
| Tolerances | Numbers that round to the same 4 significant digits count as Good | Scored by the sql_correctness metric, in versions |
| Limits | Up to 500 questions; compares up to 5,000 rows | One semantic view per run; no multi-turn evaluation |
| No approved answer | Needs manual review to be scored | At least one verified query is needed before a run |
Snowflake's evaluations page also recommends transitioning to Cortex Agents. Check which product your team is on before you build a routine around the page.
In what order should a team set this up?
Sequence matters more than volume. This order puts the cheap disagreements first, before anyone has built a dashboard on top of a wrong answer.
- Write down each metric definition in one sentence, including the date range and the exclusions.
- Choose the questions leaders ask most often, and add the awkward ones people avoid asking.
- Write the correct SQL for each, and have the metric owner approve it.
- Add two to four phrasings of each question against the same SQL.
- Run the set and read every failure before changing any instruction.
- Run the same set several times to learn its normal range, pin the scoring version and record it next to every result.
Step five is where teams lose the most time. Changing instructions before you understand a failure usually moves the problem somewhere else. Our marketing analytics service covers dashboards and attribution modelling for teams that want a second pair of eyes on the definitions.
Where do marketing questions go wrong first?
Hypothetical example: a retailer's fiscal Q1 runs from February through April. A marketing lead asks for email revenue last quarter, and the tool answers with calendar quarters. The figure looks reasonable, nobody queries it, and it ends up in a planning deck.
Databricks uses almost exactly this case in its own guidance, where the agent "is using calendar quarters instead of our fiscal calendar". The fix is to put the fiscal definition into the agent's context. The test is what proves the fix held.
Time-relative questions need two versions in the set. Snowflake advises that you "Scope queries to specific, absolute dates and time ranges for consistent results", so keep one absolute-date version for a stable score. Keep a second, relative version ("last quarter") and review it by hand on a schedule, because that's the phrasing real users type.
A second early failure is harmless to a human. Databricks rates a result set Bad when it "includes extra columns compared to the result set produced by the SQL Answer". Read the explanation before you treat that as a wrong answer.
What should you re-test after a change?
Re-run the full set after any change to the semantic layer, the instructions, a metric definition or the scoring version. Snowflake states that "scores from different versions aren't comparable", and its v1 judge reached end-of-life on 14 Oct 2026, so runs that pin v1 fail. Unpinned runs roll forward on their own and scores can shift without anything in your data changing.
Record scores somewhere you control. Databricks keeps the full results visible for one week, after which only the generated SQL and the example SQL remain. A sheet with date, scoring version, accuracy and the failures you chose to accept gives you a history the tool won't.
The same habit applies to agent instructions: our post on version control for agent instructions covers moving an alias only after a frozen version passes its evaluation set.
Frequently Asked Questions
1. Can a benchmark set prove the tool is accurate?
No. It shows accuracy on the questions you wrote and approved, which is only a sample of what people will ask. Treat a good score as a floor for the covered questions and keep reviewing real usage.
2. How many phrasings of each question should we test?
Databricks says most Genie Agents should include between two and four phrasings of the same question. Use the same approved SQL for all of them.
3. Why do scores change when nothing has changed?
Snowflake notes that each run generates SQL again and that generation is non-deterministic, so repeated runs can produce different scores. It advises running the same set several times before you gate anything on a threshold.
4. Does user feedback fix wrong answers automatically?
No. Databricks states that the agent's behaviour does not change based on user feedback alone. Someone with the right permissions has to review it and update the agent's context.
5. What does running an evaluation cost on Snowflake?
Snowflake lists warehouse charges for the evaluation queries, evaluation credits for the judge inference, and storage charges for datasets and results. Check your own account's rates before you schedule runs.
Sources
- Databricks, Test and monitor a Genie Agent. Retrieved 02 Dec 2026.
- Snowflake, Cortex Analyst evaluations. Retrieved 02 Dec 2026.
- Both pages describe the vendors' own products, so check each against its current documentation before you build on it.
- Written by CustomerIK.
CustomerIK works across marketing analytics and customer data management.
If your team is deciding how to test natural-language analytics before it reaches the business, let's talk.




