Can someone who understands it explain what dbt is and how it is used. I hear a lot about it but I just haven't figured out what it is useful for.
Basically people are constantly calculating metrics based on existing tables. Think something as simple as a moving average or the sum of two separate columns in a table. Once upon a time you would set up a cronjob and populate these every day as a SQL query in some python or Perl script. Dbt introduced a language for managing these “metrics” at scale including the ability to use variables and more complex templates…
Dbt – Incremental but Incomplete
11–20 of 20 posts
Re: Dbt – Incremental but Incomplete
#12Is anyone using SQLMesh in production? I love “lessons learned” tools which have the opportunity to improve core design after seeing the weak points of the initial product in the space. That being said, I hate being an early adopter, so will let others determine if the new tool has an entirely novel set of shortcomings vs dbt.
There are many teams using SQLMesh in production. Fivetran, Harness, Hopper, Pitchbook to name a few. You can read some case studies here https://tobikodata.com/harness.html or join Slack to meet with folks to learn more about their experiences.
Re: Dbt – Incremental but Incomplete
#13Re: Dbt – Incremental but Incomplete
#14Can someone who understands it explain what dbt is and how it is used. I hear a lot about it but I just haven't figured out what it is useful for.
I am not sure if it is that popular these days. Couple of years ago it was pretty popular.
Re: Dbt – Incremental but Incomplete
#15Earlier quoted context omitted.
There are many teams using SQLMesh in production. Fivetran, Harness, Hopper, Pitchbook to name a few. You can read some case studies here https://tobikodata.com/harness.html or join Slack to meet with folks to learn more about their experiences.
How does Fivetran use SQLMesh?
Re: Dbt – Incremental but Incomplete
#16I really wish data engineers didn't have to hand-roll incremental materialization in 2024. This is really hard stuff to get right (as the post outlines) but it is absolutely critical to keeping latency and costs down if you're going to go all in on deep, layered, fine-grained transformations (which still seems to me to be the best way to scale a large / complex analytics stack). My prediction a few years back was tha…
The chaos of existing approaches was a large part of what drove me to join Materialize. With Materialize, you can use dbt on “easy-mode”, while Materialize handles incremental logic, removing the usual headaches around processing time and keeping everything up to date within a second or two.
I recently gave a talk at Data Council about this unlock, it’s total magic: https://youtu.be/pLb5sFZ7nWw
For anyone interested, my colleague Seth also discussed this in a recent blog post: https://materialize.com/blog/migrating-postgres-materialize/
Re: Dbt – Incremental but Incomplete
#17Re: Dbt – Incremental but Incomplete
#18Can someone who understands it explain what dbt is and how it is used. I hear a lot about it but I just haven't figured out what it is useful for.
dbt is kinda like Vite (dbt = data build tool) for folks working with data warehouses. Their biggest contribution was a mindset shift that applied principles of the SDLC to the traditional BI/Analytics space.
Almost overnight, analysts went from building business logic in GUIs like Talend or Tableau to code-based models (SQL) checked into git repos instead. It took what Looker was doing with LookML and generalized it across the BI stack.
This shift (+ associated tooling) resulted in less brittle data pipelines, increased uptime for dashboards/reporting, and more sanity when working with more than 2-3 people in a data environment.
Imagine a situation where you're at an e-commerce company and need to reconcile orders from Woocommerce with shipments in ShipStation, returns from tickets in HubSpot, and refunds issued in Stripe. dbt simplifies the management of the relationships between these various systems.
Based on this, you can build data models that allow you and, increasingly, your business stakeholders to answer questions like "Which SKUs have seen an uptick in refunds due to reason X this quarter?" and "Where were they shipped?"
The benefit of having standard abstractions means you can build metrics on top of the models as [gkapur](https://news.ycombinator.com/item?id=41853925) mentions such that "revenue" is the same when marketing pulls it for calculating CAC as when finance pulls it their monthly reports, etc.
Re: Dbt – Incremental but Incomplete
#19Earlier quoted context omitted.
I am not sure if it is that popular these days. Couple of years ago it was pretty popular.
The hype may have gone down, but it's usage is good. It's used where I work. It has a slack channel that's pretty busy.
That said, SQLMesh and other tools are pretty interesting and I look forward to new growth in the space.
Re: Dbt – Incremental but Incomplete
#20I really wish data engineers didn't have to hand-roll incremental materialization in 2024. This is really hard stuff to get right (as the post outlines) but it is absolutely critical to keeping latency and costs down if you're going to go all in on deep, layered, fine-grained transformations (which still seems to me to be the best way to scale a large / complex analytics stack). My prediction a few years back was tha…