
The Data Crunch · 2025-06-12 · 11 min
Computed from the transcript - who did the talking, and the words that came up most.
Tired of sticky-note SQL and fragile dashboards? In this episode, Vadym and Helen dig into version control in analytics - why treating your SQL like code matters, how to avoid "final_FINAL" disasters, and what real-world teams are doing to keep their data trustworthy. What you’ll learn: Why version control is critical for analytics teams Real-world mistakes caused by missing change history How to implement lightweight versioning with tools like Git and dbt Folder structure, naming tips, and archiving best practices A quick tour of helpful tools - from GitHub to Notion ️ Start making analytics more reliable with OWOX BI ️ Want to help build and improve our open‑source connectors? Join the OWOX Data Marts community on GitHub and contribute Get trusted reports with your context in 1 minute OWOX Website Analytics with OWOX BI YouTube Channel
Transcribed and scored by The B2B Podcast Index.
Speaker A: Hey, everyone. Welcome back to the Data Crunch podcast. I'm Vadim, your host, and today we're tackling a question I think most data teams have silently screamed at some point. Why do we treat analytics logic like temporary sticky notes? You know, dashboards built on a fragile SQL versioned only by file names like all lowercase, final, all caps, final caps, this one use SQL, you know. And joining me today, you know her, you love her. It's Helen, head of customer success here at ox. Helen, welcome back.
Speaker B: Thanks, Vladimir. Yeah, it's always great to be here. And about the, uh, question you asked. Yes, the nightmare starts when someone opens the. The file six months later and says, wait, where did this number come from? I've been there. So, a SQL, um, that no one remembers. Written, no context, no backups, just, you know, vibes.
Speaker A: Yeah, exactly. And that brings us straight to today's topic, Version control in analytics. And if you're enjoying our podcast, hit that subscribe button. We drop episodes every Thursday with stories, real life lessons, and just enough drama to keep it fun. All right, Helen, let's jump in. Version control. Really? Not the sexiest term, but wow, it is important.
Speaker B: Totally, totally. Uh, think of version control as giving your analyst logic, a brain and a memory. So without it, you are, uh, one broken query away from a crisis.
Speaker A: Yeah, let's talk about the pain points. What happens when analytics teams don't use version control?
Speaker B: Okay, first, um, people overwrite each other's work without knowing. Or even worse, they copy past logic into five other places, and suddenly your single source of truth is five sources with different numbers.
Speaker A: Yeah. And when things go wrong, you hear, oh, yeah, Anna changed that formula last week, I think. No changelog, no context, just a shrug.
Speaker B: Yeah, exactly, exactly. And, uh, you know, let's be honest, tribal knowledge is not a long term data strategy.
Speaker A: Yeah, agree. Um, all right, so. So what does good version control look like in the analytics world?
Speaker B: Um, think central git repos. So for DBT models, SQL scripts, even your BI dashboards, um, use pull requests, add comments, review changes. And, um, it's about. It's not about slowing things down. It's about knowing who changed what, when and why.
Speaker A: Exactly. And structured folders. Not finalfinal or Dashboard. New July, Edited.
Speaker B: Yeah, real names, please. And the ability to roll back when something breaks. Yeah, that's absolute lifesaver.
Speaker A: Now, let's say you're new to this. What is the best way to dip your toes into version control?
Speaker B: Start with your core metrics, the KPIs. Everyone depends on version. Those Queries first. And um, even if you're just using GitHub with basic folders and simple commit messages, it's a huge step forward. Assign code owners, track who's responsible for what. Yeah, and hey, m, it doesn't have to be perfect. Uh, it just has to be better than invisible logic like floating around in people's head.
Speaker A: Okay, let's shift gears a little bit. Um, Helen, hit us with a real world story. One where version control saved the day or where the lack of it almost sank the ship.
Speaker B: Um, sure. At one company in a faraway galaxy, a junior analyst updated the revenue model on Friday. Of course, uh, On Monday the CFO saw 30% jump in MRR and almost celebrated it with the champagne. Uh, but turns out the analyst accidentally duplicated a filter or something and inflated the numbers. Like no versioning, no pull request, just, you know, silent update and it took days to untangle. If we'd had version control, one glance at the commit would have caught it in seconds.
Speaker A: Yeah, champagne postponed. I guess that's the perfect case for why this matters. Alright, um, let's get to a rapid fire time. Helen, give us some quick version control tips every analyst should know.
Speaker B: Yeah, let's go. Um, first is always explain your commit messages. Fix stuff. It will not help anyone. A good message tells not just what changed because git already shows that, but why it changed and how you fixed it. Um, that context is also good. Um, especially when you hit a similar issue months later and need to retrace your steps. So you just should be able to find that version. Um, the second thing I'd say don't push it to main, open a pull request and get a second pair of eyes. Uh, of course, if your workflow allows it, uh, and this ties directly into the previous point. A clear, precise commit message makes the review process way faster so the person reviewing your PR will instantly understand what was changed and why. Like no guesswork, no back and forth, all these things. Next I say create the readme, uh, for your folders with context. Actually the folder structure itself matters a lot. I've seen the different setups. Uh, they all worked well, like organized by department, by product area, by vendor if relevant or by project. Basically, uh, one thing I do not recommend, uh, naming folders after analysts if you are looking for a change related to a country grouping names, uh, you won't think to check the Julie or Thomas folder even if their readmes are perfectly written. So keep folders shallow when possible. Um, if you need five clicks to find a model that's the red flag. Another one is archive and SQL. Do not delete them, please just archive. And even if it's no longer in use, old SQL can hold valuable context. You might need to reference it later to understand how metric was calculated in the past or debug something or answer what changed question like from stakeholders. So you can just create archive or deprecated folder, whatever and uh, add a quick note about why it's no longer in use and um, move it there. Clean structure, no lost history. Yeah, makes sense. Um, and the last one, I'd say the naming conventions use it like consistent report, version 2 final. Final is a lie. Yeah, I know it sounds obvious, um, but this naming chaos is still everywhere when you're using tools like Git. There is no need to cram metadata, uh, into file names like no dates, no initials. Git already tracks who changed what and when. So your file names should focus on what the uh, SQL actually does, like monthly revenue by region instead of final. Final. Use this one SQL, um, the clear names, faster onboarding, easier review and you know, just fewer headaches. That's it.
Speaker A: Yes, thank you so much, Helen. That's a great breakdown. And uh, now before we wrap up, Helen, give us a quick tool roundup. What should people be checking out?
Speaker B: Um, dbt, um, they have built in versioning, testing and documentation. It's just the game changer, um, GitHub or BitBucket. Don't overthink it. Uh, start with some basics and um, any internal tool you use for knowledge sharing like Notion or Fiberry plus SQL. Actually, uh, if your team is not ready for git, you can use this combo and it will still give you some structure.
Speaker A: Yeah, great advice.
Speaker B: So.
Speaker A: So there you have it. Version control isn't just a dev thing. It's the key to consistent, reliable analytics in fast moving teams.
Speaker B: Yeah, and it doesn't have to be complicated. Just pick a spot, start small and grow from there.
Speaker A: And if you want to trust your data and bring order to your analytics logic, check out oxbi. We'll make it easy to version your transformations, track changes and collaborate on data across your team. Head to ox.com and start your journey to reliable, transparent analytics today.
Speaker B: Yeah, thanks everyone for listening. And remember, you don't need perfection, you need visibility. Version control helps you get there.
Speaker A: Yes, thank you, Helen. Thanks to everyone listening. Subscribe, Leave us a comment and tell us your best version control. Horror story. We'll catch you guys in the next episode of the DataCrunch podcast.