Schema Refresh & Model Navigation

Conrad Slimmer · Friday Demos · May 15, 2026 · 9:09

Quality-of-life improvements including hard vs. soft schema refresh support for scheduled/API refreshes, a model navigation dropdown between schema and shared models, YAML-based topic…

Transcript

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

  1. Uh, before I get into my demo, I missed shout-outs that I I just wanted to like send a Connor, I think your audio might Your sound is terrible. Yeah. Oh. Try unplugging it and just go on speaker or something. Is that any better? Way better. Yeah. Okay, now I can't hear you guys, though. Hello? Oh, I can hear you.

  2. I couldn't hear you cuz you're muted. Um, before I jump into my demo, I've actually got a few kind of quality of life things and and a bigger thing to share, but I just wanted to shout out cuz I missed it during our shout-out section, a few of my peers who I've been having the pleasure to work with a lot recently.

  3. Uh, and I think this is just general across the org, but um, specifically wanted to to share to like uh, we've been dealing with a few kind of thorny issues at the intersection of schema refresh and DBT virtualization. And uh, this week um, Buck and I jumped on a call and like talked through like what could this thing be and it was like just, you know, it's like a one-line thing that was breaking the world for someone and uh, it was just super fun to to solve that with with Buck, so thanks, Buck.

  4. Always a pleasure. Uh, Kathy has been just really diligently like tracking down performance issues that have just been long-standing in the history page. And uh, she came up with a really clever uh, solution that that should cut down almost 50% of the time to do a a history diff. She did some other stuff that we think is going to really help.

  5. Serializing YAML in the back end and then she also identified like something silly we were doing with a with a database lookup, a join that was descending into the some JSONB and just costing a lot of time, so hopefully um, history ins introspection or looking at model history should be a lot snappier. And I think there's still more optimization happening there.

  6. So, I've just been It's been really fun to to work with Cathy and and watch her nail that. And then one other kind of thing that I picked up a couple weeks ago, um normally I don't work so much in, you know, front-end sort of stuff, but I did some time zone uh override stuff and um you know, it was not in Sarah It was not in my planned work, either, but it definitely wasn't in Sarah's uh planned work to kind of help out with the design on all of that.

  7. And uh she, you know, took the time to to make it not look bad. And and And basically just handed me, you know, made a PR against my PR to to make it so that it was worthy of shipping. So, um it's just been really fun to to be doing a little bit more collaborative work. So, thanks everyone there.

  8. With that, uh I will jump into uh demo. And we always get this nonsense. Okay. So, first thing, um when we're doing schema refreshes, and we've always made this kind of uh opaque, but we have two style of schema refresh. One is called a hard refresh, and one's called a soft refresh. When you do a hard refresh, it's destructive.

  9. It just completely regenerates the the whole schema model and will remove um deleted, you know, things that have been dropped from the database. Or you can do a soft refresh, in which case we merge the net new stuff into the existing schema model, but we leave the old dimensions and views that may have been deleted from the database.

  10. And then you get all these warnings that are like, "Hey, this column doesn't exist." Um you know, pick your poison. Uh but some people would prefer not to get those particular warnings and they want a hard refresh. But, uh, up until now for both, uh, scheduled and API-based schema refreshes, we only supported soft refresh. Now, you can actually, uh, select whether you want your schema refresh, uh, that you've scheduled to be hard or if you're doing schema refresh via the API, uh, you can also pass a parameter to specify that it should be hard refresh so that we actually remove the dimensions or the views that have been dropped from your database.

  11. So, that's one. Uh, next thing, um, is So, here I am in a schema model. It's always been a pain to like navigate between different model layers. Uh, this week we added a little drop-down that I can go from the schema model to any of the shared models that use that schema model that are in that connection.

  12. So, here I'm going to navigate to my localize me model. And this This model actually has some shared extensions. This is also been a pain, uh, that children, um, you know, child models menu item is also there. So, I can again navigate from the shared model down to any of its shared extensions. And, you know, if I want to get back to the parent, I've got that in the footer.

  13. So, little quality-of-life thing that has really bothered me for a long time. And, uh, Jade, thanks for filing the ticket. I was like, "Yeah, we can do that. Let's do that. It's been annoying for so long." So, uh, we've got that. Um, okay, next one. I don't think I need that. Ah, yes, okay. I'm going to refresh this.

  14. Come on. Okay. So, I've got Uh, I'm going to go into Oh, we'll just go into a new branch. Um and whatever. So, I'm in a branch. You know, I've got this um this piece of content over here that's based on the topic orders. Uh I've actually added Oh, I'll show another thing. Um it used to be kind of confusing.

  15. We we we track deleted topics uh in like an internal invisible um property. But and the way that you would ignore um you know, delete a topic is to delete its YAML and then save that. Now, you can actually interact with uh the you know, you can use YAML you can use YAML as uh an interface to ignore topics.

  16. Uh and in addition to that, we'll actually show that the topic is ignored We'll actually show the list. Previously, you wouldn't actually see even in stage mode that the topic was ignored. And it's like, "Wait a second, where the hell did my topic go?" So, uh just a nice little like, "Hey, there's a YAML interface to um ignoring and ignoring topics."

  17. Uh So, what was I trying to show here? Oh, yes. So, content validator um If we're lucky. And my local hasn't died. Oh, okay, cool. So, I'm in the content validator. I just broke this um piece of content by deleting that topic. I have another topic. Uh we'll just show you what I've got this other topic which is not deleted.

  18. I'm in stage. Let me go back to combined so that we can actually see it. I've got this other topic called other word. And it's base view is orders. So, that topic would also work for this piece of broken content. I've given it this label label demo. Uh and I'm going to go in here and I'm going to um do a replace from the topic orders, which is now deleted.

  19. But, I can now reference the topic that I want to replace it with with the topic's label, which is what shows up in the UI all over the place. And that will resolve to, if we're lucky, um the other ord topic. So, just a little quality of life. If we're lucky. back Well, you have to believe me cuz it seems like my local is having a hard time.

  20. Or I did something silly. Uh all these things are in production so far. Um yeah, let's do I've got one more. Just going to get rid of these guys. Okay. So,