dbt Semantic Layer

Buck Ryan · Friday Demos · September 19, 2025 · 7:51

Our first demo of building the Omni data model with your dbt semantic layer. Lots more work to do here bringing different field types into Omni, but much progress on syncing models between…

Transcript

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

  1. Okay. Hello. All right. So, I have been uh working recently on DBT integration to their semantic layer. Uh so, adding support for the semantic layer into Omni. And a lot of the work so far has just been like base backend infrastructure. But um there is something demoable now. Um I have a DBT repository, my standard testing one where I have a measure um that defines that counts up the signups.

  2. And I'm going to add another one just so you can kind of get more of a sense of uh what's going on. I need to things are blocking my window. I'll edit it in here. Let's say we want to add another measure. So doing some of this live. I haven't tested all of these different aggregates and stuff.

  3. Um let's say I want to do something with the average age and change the aggregate through average. And there's a column called age. I'm going to somehow save this. I haven't actually used a GitHub editor before or very much. Okay, saved it. Um, now I'm going to go into Omni. And first things first is this is the dog behind a feature flag.

  4. So let's turn that on. DBT semantic layer for my dev or add it. Now go back to my model and refresh schema and hope that everything uh works. Yeah, drum roll. Thanks. I thought that was going to be better. There we go. Uh so my two uh measures that were defined in the DBT semantics player are now in the omni model and they got the right aggregate type and yada yada.

  5. So um yeah, I can do that basic importing of measures. It's uh I need to do more scrutiny on like is it creating these things correctly? Uh I need to learn more about all the different options for both DBT semantic layer and omni and how they map together. Um and then there will be some support coming for like dimension stuff but um that's just sort of the first step on the journey.

  6. That's it. And just to sort of ask a question there is the general philosophy like we're trying to find the ones that parallel into our model. So dimensions and measures being like the most obvious use cases, but we're going to sort of piece apart the things that exist in semantic layer. Uh yeah, if I understand you correctly, so like step one is just the things that map very nicely dimensions and measures.

  7. But um like a a quick followup is going to be looking at the what they called entities uh which can help us define relationships um in the omni model too. Yeah, that was my question is like are there stuff that's just really far away from the way that we operate? Um, I haven't seen anything that's super far away.

  8. I mean, they do have specific types of measures um that don't exactly map in. It's definitely not we're we're definitely not going to be able to get everything that's defined in there. Um, and so uh, one of the things we've been talking about is updating the health to sort of make it clear like we saw these things but we can't import them because of whatever reason.

  9. Yeah, makes sense as well. What is the what's the query path going to look like too? Is it just exactly normal today too or is there anything sort of custom we have to do um like to actually go and query these in Ammy? Yeah. Yeah, it should be nothing different. It's all just getting I I mean I don't think so unless I'm missing something in your question but no that that sounds good.

  10. I I know that they have like some sort of slightly strange SQL syntax too but I think that that that that is what that makes a ton of sense to me. I think honestly keeping it simple makes a ton of sense. That's what we should do. Okay. Yeah. Thanks. That's all. I think the question that we get the most from the field here is like what's the best place to put this and um or like where is the best place?

  11. So like um I guess the broader question is like is it ult is ultimate gold also be able to take omni defined measures and write them back to dbt and then that way we can just make the recommendation do it all in omni and then you're going to be able to read it write it both ways is the ultimate goal to say you can leave it in the dbt semantic and we'll inherit them from there do we actually have like a a path or a recommendation we're taking that so John Palmer had a great blog post for this this week too and and you know shout out to the marketing team as well I the sort of the meta message is we think that that

  12. uh semantics are something that actually are evolutionary. They change as data changes and the business changes too and having it be close to where they're consumed, you know, in an ad hoc way is is really important. They need to evolve and you need to progressively harden them. So, it needs to be able to be, you know, lightweight ephemeral things that can be completely thrown away and then things that are standardized.

  13. I'd say the the sort of the important sort of nuance that that I think we're uh you know with the DBT semantic layer integration with Snowflake and data bricks semantic layer integrations as well is we don't think that they that doesn't have to live inside Omni that you know we want to help facilitate it. We want to help you uh leverage it wherever you've got it defined as well too.

  14. We want to make it super easy to pull in metadata and context from the database schema from DBT projects which we've done for you know years now. Uh but then s Simultaneously now what we're effectively doing is opening up the virtual layer as well. So sort of that logical layer that semantics can be defined in but basically we we don't want it to be locked in.

  15. We want it to be open and you know well integrated as well. Um I have a question if there's no follow-ups there. Um so if like one of the things that we run into is if the if there's already something that exists that has like the same name. I don't think we handle that super gracefully. Like the example is like if somebody has a count field uh as a dimension in their table, we automatically create a count and then in the model validation there's errors.

  16. So I imagine there could be like something kind of similar that would happen here where um you know they would define a metric and it has like signups total but then what if the same thing gets defined in omni how how will we are we putting thought into how we could handle that? I mean the same as it exists today too.

  17. You can actually ignore fields or delete fields from schema model 2 in the shared layer. you could delete the count that we're automatically creating if you want to expose the the model you know the modeled dimension that is you know present within it. So like we the the the the layers should compose intelligently. We want to make it easy for folks to we want to give them the ability to do not only to do things like take the counts that they define inside DBT and do things like add drill fields or add links or add colors that are you know uh sort of mapping that are effectively really only UI layer pieces.

  18. We will also want you to be able to overload these things too so that the user can say, you know, take that average field and realize that they actually want average minus 10% for something. I don't I don't know, but like they can change the logic and compose it. That's all sort of the the omni model allows for sort of that expression directly, right?

  19. Yeah. And I I don't disagree with that. It's just more of like if you only ever live in the workbook and there is that type of collision that is sometimes not obvious to you. Um, I think that if you're using DBT model, you got to accept that someone's a little bit more technical and needs to be engaged at at the IDE.

  20. Cool. Super excited about that though. Yeah. Thanks. Thanks for handling. Yeah, no worries.