Snowflake semantic view builder

Peter Whitehead · Friday Demos · December 12, 2025 · 2:52

Now you can push your Omni model backwards into Snowflake Semantic Views for usage completely outside the Omni platform.

Try it yourselfThe full week on docsmodelingsnowflake

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Hello everyone. Um, I'm back with another Omni and Snowflake semantic view demo. Our integration with Snowflake semantic views, if you're not familiar with it, is we basically take the definitions defined in semantic views. We can generate them in the Omni model, but we also can push them down, but it actually is a more of a manual process.

  2. we actually use the API and then we have to run that SQL script that it gives you in Snowflake. So I just wanted to automate the whole thing and last week Snowflake released a Terraform provider for semantic views because they wanted people to have version control around it and CI/CD and I thought you know we have version control get so might as well just put these two together and that's what I did.

  3. So I created a uh script that maps uh the Omni model to a Terraform plan and then I put that into a GitHub action that would then just automatically generate a semantic view with the updates we're doing in Omni. So if I came in here and continued my workflow of like creating a new definition on a field like if I added a status um for this revenue and put this just the complete add that here.

  4. I could even give it a description. This is completed orders. Update it. And we're now when I open up a branch and actually say cool branch and go through our whole workflow. I'm creating a pull request still having governance around it. Um, and once I merge this, this is going to kick off a workflow that will then now sync Omni's model with the mo the model in semantic views from there.

  5. So here I'll create that merge request and confirm it. We can see it's going to kick off this. Did it kick it off? There it is. It kicks off this action that is creating a plan mapping things um like the filtered measure that actually was not supported in the API and I kind of figured out how to make it supported here and it's going to generate this semantic view now and keep everything in sync on both sides.

  6. You see some errors because there's some stuff that's not supported. But once that's done, um I can go back to semantic views and refresh the page. And now I should see that uh sum case one statement in my total revenue field with the description that I added for it as well. Cool. So we know