Share More, On Your Terms: Query Policies on Narrative

Blog

•

4

Mins

Most data sharing has two settings: hand it over or don't.

But most collaborations need something in between. A buyer wants to explore and size your data before they commit, without taking a copy. A collaborator wants to match against the customers they already have, without learning anything more about your customer base. Both need to work with your data. How they use it should be your call.

Access rules have always decided which of your rows and columns someone can reach. Query policies decide what they can do with them once they get there. That means you can say yes to more collaborations, even on your most sensitive data.

A valet key for your data

A valet key starts the car and does nothing else. It won't open the trunk or the glove box. You still hand over the car. You just decide what it's good for.

A query policy works the same way. For every column an access rule shares, you decide how someone else's query can use it:

  • Return it: show the value in results
  • Group by it: break results out by its values
  • Join on it: match it against their own data

Each one can be allowed, denied or allowed only in certain ways, like counting or hashing. Anything you don't open stays closed.

What that looks like, in plain terms

Every collaboration is different, so policies can be as tight or as open as the deal calls for. A few common setups:

  • Match against what they already have. A collaborator joins your data to their own customer list and gets your segments for people they already know, and nothing beyond that. A join-required rule makes that the only way the data can be used.
  • Explore and size before committing. A buyer can count records by segment to see what's there, without pulling the list.
  • Work with hashed values. Identifiers like email come back as SHA-256 hashes and nothing else.
  • Open up everything else. Allow every use on the columns you're comfortable with and set rules only where you want them.
  • Decide what AI can use. Choose whether a column can be sent to an AI model.

Policies name Rosetta Stone attributes, so a rule on email applies to email no matter what each dataset happens to call the column. When everyone agrees on what a field means, governing it gets a lot simpler.

Why not just use a clean room?

Clean rooms solved a real problem: they made it safer to work with someone else's data. But setting one up tends to go one of two ways.

Either it's an engineering project, with custom templates, pre-approved queries and someone on both sides who speaks the clean room's dialect. Or you get a short menu: aggregate only, list only or write your own code. Both work, but neither fits every deal.

Query policies use the terms you'd use to explain the deal over coffee. You can count this one. You can join on that one. This one you can see. You mix and match column by column, so the policy fits the deal instead of the other way around. And because the policy is attached to the access rule, there's no separate room to stand up and no extra copy of your data to manage.

We're also releasing skills built on query policies that let your AI assistant set up clean-room-style collaborations for you.

Suppliers offer more. Buyers get clarity.

For suppliers, more control means more to offer. Instead of deciding whether a dataset is safe to share at all, you decide how each column can be used. That makes it easier to put more of your data in front of buyers, on terms you've spelled out.

For the person writing the query, there's no guessing. Every access rule's detail page shows exactly what its policy allows. Data Studio checks your query before you run it, flags anything a policy would block and tells you why. You can also test a query against a policy without running it or spending credits.

"Why is my query empty?" finally has an answer.

How to get started

  1. Start with a column you're protective of, usually email or another identifier.
  2. Name the one thing others need to do with it: join, count or hash.
  3. Open only that. Create the access rule right from the dataset's Access menu, with its fields or mapped attributes already selected. Then set the policy through the API or ask your AI assistant to do it through the Narrative MCP server, and test it against a draft before you share.

For patterns you can copy, see Applying Query Policies.

What this changes

Sharing stops being all or nothing. Instead of deciding whether to share a dataset, you decide how it gets used, in plain terms, column by column. That makes yes a much easier answer, and a lot more common.

Data that works together is closer than you think. Book a demo to see query policies on your own data.

‍

Explore related

Insights, stories, & resources for the teams building modern data infrastructure.

Blog

•

3

Mins

Account-Based Marketing on LinkedIn, One Sentence Away

Account-Based Marketing on LinkedIn, One Sentence Away

Blog

•

4

Mins

Egg Strategy and Narrative Partner to Show Brands What Actually Drives Purchase

Egg Strategy and Narrative Partner to Show Brands What Actually Drives Purchase

Blog

•

6

Mins

Nobody Owns the Stack: Narrative and The Weather Company at Advertising Week 2026

Nobody Owns the Stack: Narrative and The Weather Company at Advertising Week 2026