4 ms·
Dbt – Incremental but Incomplete
- pdr94 2y agoGreat to see dbt finally rolling out microbatch incremental models! It's a much-needed feature and a step forward for data transformation. Excited to see how this evolves and complements tools like SQLMesh. Keep up the good work!
- captaintobs 2y agoThanks! Yes, it's a much requested feature but it's difficult to get right!
- 0cf8612b2e1e 2y agoIs 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.
- captaintobs 2y agoThere 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 https://tobikodata.com/harness.html or join Slack to meet with folks to learn more about their experiences.
- abtinf 2y agoHow does Fivetran use SQLMesh?
- captaintobs 2y agoThey're using it for data transformation.They're long time dbt users, but are switching to SQLMesh because it's extremely efficient, provides a better development experience, and can help them become warehouse agnostic.
- whinvik 2y agoCan 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.
- bitlad 2y agoI am not sure if it is that popular these days. Couple of years ago it was pretty popular.
- riku_iki 2y agosounds like a typical hype-tech lifecycle.
- jburbank 2y agoThe 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.
- christoff12 2y agodbt isn't going anywhere. It's the standard. That said, SQLMesh and other tools are pretty interesting and I look forward to new growth in the space.
- tiew9Vii 2y agoSome opinionated conventions around defining templated SQL queries in YAML files for ETL. Then it provides additional tooling around that, GUI’s, governance, everything your average large corporate asks for.
- gkapur 2y agoBasically 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 (Jinja.) Then you do dbt run (https://docs.getdbt.com/reference/commands/run https://docs.getdbt.com/reference/commands/run) and kapow the metric is populated in your database. More broadly dbt did two other things: 1. It pushed the paradigm from ETL to ELT (so stick all the data in your warehouse and then transform it rather than transform it at extraction time.) 2. It created the concept of an “analytics engineer” (previously know as guy who knows SQL or business analyst.)
- bradleybuda 2y agoI 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 that Materialize (or similar tech) would magically solve this - data teams could operate in terms of pure views and let the database engine differentiate their SQL and determine how to apply incremental (ideally streaming) updates through the view stack. While I'm in an adjacent space, I don't do this day-to-day so I'm not quite sure what's holding back adoption here - maybe in a few years more we'll get there.
- matthewhelm 2y agoI wholeheartedly agree. When I worked at Shopify, we had to hand-roll our incremental data models using Spark, and the complexity of managing deep DAGs made tasks like backfilling and refactoring a huge pain. Tools like dbt and SQLMesh face similar challenges. 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 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/ https://materialize.com/blog/migrating-postgres-materialize/
- tessierashpool9 2y agoThe Databricks AutoLoader for Delta Live Tables with Checkpointing and Watermarking comes to your rescue.
- pella 2y agoSide question: For ETL development based on PostGIS and pgRouting, which tool is more suitable? In other words, which one is easier to work with for geometric data? (e.g., visual test case data display, etc.)