Skip to content
All topics
IntegrationsSee on /pulse →

dbt-databricks

Recent items mentioning dbt-databricks across the Databricks ecosystem — releases, news, videos, and community Q&A. Updated hourly.

26 recent items22 releases2 news1 video1 community thread
What's happening in dbt-databricksAI synthesis · updated 2h ago

dbt-databricks v1.13.0 makes a breaking change for view models: views now use a single materialization regardless of use_materialization_v2, so view_update_via_alter alters Unity Catalog views in place and fails on Hive metastore views 2. The release also adds additive merging of tblproperties across config levels and opt-in invocation telemetry 2. It follows a run of stability fixes: v1.12.7 stops session closure from holding the connection manager lock, which caused query stalls and premature cluster auto-termination, and makes incremental-run constraint handling deterministic 5. v1.12.8 only raises the minimum certifi version for a CA bundle security fix 3.

Generated daily from the 6 most recent items mentioning dbt-databricks. Click any [N] to jump to the source.

Reddit

dbt users on Databricks: do your snapshots handle files that arrive out of order?

If you build SCD2 history with dbt snapshot on top of batch files (daily exports, CDC drops, API extracts), there's a failure mode worth knowing about. Snapshots apply data in the order it arrives. So if Tuesday's file lands after Wednesday's: - with strategy ='check', the late (older) value becomes the "current" row - with strategy ='timestamp', the change is skipped and that period just disappears from history Every run stays green and every test passes. Nothing tells you. We found out when someone asked why an employee's promotion showed up as a demotion. We ended up building dbt-iterative-snapshot, a custom materialization for Databricks. You add sequence_by='batch_date', and on each run it: 1. checks which batches it has already processed (it keeps an audit table) 2. if a new batch is older than one already processed, rolls back the snapshot from that point 3. replays the batches in order, one MERGE per batch It also gives you changed_attributes (which columns changed), per-batch row counts, and an error log for duplicate keys instead of failing the run. dbt Hub: https://hub.getdbt.com/mercedes-benz/dbt_iterative_snapshot/latest/ GitHub: https://github.com/mercedes-benz/dbt-iterative-snapshot It's dbt-databricks only for now (Delta MERGE, Unity Catalog). PRs for other adapters are welcome. I'm curious how others handle this. Do you rebuild SCD2 from raw with window functions, loop dbt snapshot over dates, or just hope files arrive in order? Happy to answer questions, and honest feedback on edge cases is very welcome. Read more: https://reliabledataengineering.com/posts/article_dbt_iterative_snapshot/ submitted by /u/Alone-Security7044 [link] [comments]

00Alone-Security7044today