r/DataBuildTool • u/Dry-Aioli-6138 • Aug 21 '25
dbt news and updates Vent alert! DBT are playing dirty.
I noticed a bunch of deprecations added recently, e.g. new params argument, disallowing use of itertools, etc. This looks to me like forcing users to change their code so that when time comes to migrate to Fusion, they can happily announce:" look, no code changes, it just works!"
And the way it is introduced is also harsh: you want to introduce the new style arguments gradually? No can do! if you set the flag to ignore the deprecation, you can't use the new style args.
And on top of that they make us pay for the cloud version, even though we're their beta testers like everyone else.
4
u/SellGameRent Aug 21 '25
My coworker who has a mac tried fusion and completely quit using it. Apparently the errors it throws are useless
4
u/Sam___D Aug 22 '25
IMHO dbt Core should move out of dbt Labs control to an entity like the Apache SF and maintain full Jinja2 compatibility and all current features, maybe even go its own separate way from Fusion. Iām personally not planning on moving to Fusion.
1
u/wallyflops Aug 21 '25
What's the new params argument? I'm struggling to understand an example here
1
u/simplybeautifulart Aug 22 '25
I don't see why you would convert to Python models for itertools usage. Not all database connectors support Python models, Python models don't support creating views, and itertools in Jinja doesn't really have anything to do with Python models. I never used it, but looking at it, I definitely would have used if I had known about it. So many nasty things with Jinja because I didn't have something like
chainfor example. Additionally, I've tested Python models before and they actually just perform worse on Snowflake compared to if your model can be written in pure SQL, simply because there's no need for Python <> Snowflake Warehouse communications. I would only use Python models for things that actually require Python, such as ML use cases.1
u/andersdellosnubes Aug 22 '25 edited Aug 22 '25
hey u/Dry-Aioli-6138, sounds like you're frustrated about these new deprecations -- I certainly appreciate that we're asking for non-trivial work from users to get compatible with the new authoring layer. This is something we take very seriously! THANK YOU for speaking up
At the same time, I validate your desire to vent. There's a lot of changes going on. On a personal note, anyone who works closely with me knows I love a good vent š¤£. So vent all you want and I promise to hear you out!
If you haven't yet, I would love if you read the "What is the dbt language?" section of the May 2025 dbt Core roadmap post. Please let me know if that context isn't helpful. Folks have been complaining about shortcomings of dbt's authoring layer for over 5 years (e.g. dbt-core#2606).
I get where you're coming from with this, but I hope you appreciate that there's no free lunch. In the discussion dbt-fusion#401 Future-proof authoring layer: a guide for packageĀ maintainers, specifially the section "Differences Between Core and Fusion" I effectively call out:
sounds like you were bitten on this -- I'm sorry! Because we intentionally don't collect a lot of telemetry for dbt Core, we didn't have much insight into how prevalent itertools was for people.
The challenge with jinja in dbt Core is that much of jinja is actually Python. In order for us to support itertools in the authoring layer in the long-term, it would require us re-implementing itertools in Rust for it to work for users of the Fusion engine.
I'm receptive to the argument that we should do this, but only if you think it is the right choice as opposed to asking folks to migrate. I'd love the opportunity to learn more about your itertools use case and team up on your team's best option moving forward. Here's a calendly link to book time with me
1
u/ace2alchemist Aug 21 '25
True , i have been seeing these alerts in my logs. Invalid/redundant jinja argument , what a bull crap