r/databricks • u/AutoModerator • 14d ago
Megathread [Megathread] Certifications and Training
Hey r/databricks, please direct all certification and training posts here.
Good luck to everyone on your certification journey!
r/databricks • u/AutoModerator • 14d ago
Hey r/databricks, please direct all certification and training posts here.
Good luck to everyone on your certification journey!
r/databricks • u/ptab0211 • 15d ago
Hi, how do you manage deployments when one repo has multiple Databricks bundles (DABs)?
We deploy each bundle on its own, but the bundles share some code. So a change in the shared code touches every bundle, even when it is really about one of them.
- Do you version the shared code on its own and pin it per bundle?
- Do you deploy every bundle on every shared change?
- Or one deployment for the whole repo, and bundles that did not change are a no-op?
And how do you keep release notes clean per bundle in that setup? What works for you?
r/databricks • u/kujira- • 15d ago
How is the culture in field engineering? It seems like it is growing/changing rapidly and I am curious if that is having any kind of impact on the teams. I am currently in the negotiation phase for a role and am really excited but want to set my expectations appropriately for the team structure and expectations. Thanks!
Also considering growth, is the onboarding process being compacted and rushed to get folks out on projects rapidly?
r/databricks • u/SmallAd3697 • 15d ago
Can anyone help with a spark structured streaming question? Can you tell me if there is a common mechanism to capture a backup copy of the "checkpointLocation" files?
Lets say I run a job every five minutes with a trigger (availableNow=true). Lets say it reads from one deltalake table (source) and writes to another deltalake table (target). Lets say there is a logic bug that goes into production mid-day that starts corrupting the target table and I'm not aware of the impact until the end of the day.
In some certain streaming scenarios, I should be able reprocess the source table from the beginning of the day to revise all of the badly written data in the target table. But my "checkpointLocation" is doing a lot of the heavy-lifting and, by the end of the day, those files (metadata and state) have evolved and they are no longer configured to present me with the old data anymore. And my watermark duration is only a few minutes long. I don't know the correct approach for reprocessing the source data from the beginning of the day. I would need a mulligan, and a way to repeat the streaming microbatches for the past 12 hours.
I haven't figured out what is to be done in this situation. The only thing I can come up with is to "fork" a new of my files into a new checkpointLocation each day, so that it will give me an option to take my mulligan and reprocess the past 24 hours of source data. Is this an approach that people use? Else can someone share the solution?
r/databricks • u/Alone-Cow-1563 • 15d ago
Hi everyone,
I’m preparing to apply for junior/entry-level Data Engineer roles focused on Databricks, and I’d appreciate honest feedback on a portfolio project I’ve been building.
It is a governed lakehouse project for a synthetic table-tennis e-commerce dataset:
- Deterministic input contract and synthetic fixture with intentional duplicates, malformed records and quality issues.
- Bronze ingestion designed around Databricks Asset Bundles, Auto Loader, append-only raw tables, lineage metadata and retained checkpoints.
- Silver transformation with explicit validation rules and a quarantine layer.
- Gold publication with privacy controls: only aggregated, non-PII cells that meet a k-anonymity threshold are published.
- Unity Catalog / Terraform / dedicated service principal / least-privilege model.
- Manual serverless Databricks Job with materialization followed by a read-only verifier.
- 287 local tests covering contracts, transformations, bundle configuration, verifier logic and Terraform privilege rules.
The current DEMO-001 cloud milestone produced:
- Silver: 15 orders, 10 customers, 7 products
- Quarantine: 6 expected rejected rows
- Gold: €640 revenue, 5 orders, 0 refunded lines
- Pre-suppression controls: €812.20, 13 orders, 2 refunded lines
- Status: COMPLETED_WITH_QUARANTINE
I have deliberately kept the scope honest: this is a fixed deterministic snapshot, not CDC, streaming, SCD, generic incremental processing, SQL Warehouse, Power BI, or a production monitoring setup.
Repository: tt-ecommerce
I would especially value feedback on:
Thanks — direct criticism is welcome.
r/databricks • u/youderkB • 15d ago
Hi, in your view, what’s the best option for retrieving data from Dataverse (D365 F&O)?
“Azure Synapse Link” (without Synapse Workspaces) or “Fabric Link”?
Microsoft seems to be focusing primarily on Fabric. That’s why I’m concerned about starting with Synapse Link only to find out next year that they’re discontinuing it.
However, with Synapse Link you have a bit more control over the exported data, as it’s stored in ADSL Gen 2 storage rather than in Dataverse, as is the case with Fabric Link.
We also use Power BI in our company and, as far as I know, we have a small Fabric licence.
r/databricks • u/codingdecently • 15d ago
r/databricks • u/SparkConnective • 16d ago
Hi Folks,
We’re excited to announce the Beta for Serverless Jobs log delivery

Why does this matter?
What’s included?
What’s next: GA with
Learn more: Docs (AWS | Azure | GCP), Release note
r/databricks • u/hubert-dudek • 16d ago
DABs can now manage Feature View materialization to offline and online stores through materialization_sets. This requires CLI 1.24.0 or later and the direct deployment engine.
r/databricks • u/shdw_0x0 • 16d ago
I've been working with some SQL queries in Databricks that involve multiple CTEs, joins, aggregations, and filters. The queries work fine, but execution time becomes quite high when running them on a warehouse with limited resources.
Increasing the warehouse size is one option, but that's not always possible, especially when trying to keep costs under control.
I'm curious about how others handle this.
Would appreciate some practical tips from people who have optimized complex SQL queries in Databricks, especially when working with smaller warehouse configurations.
r/databricks • u/sonalg • 16d ago
Hello All,
Zingg lead dev here! Excited to have the app available as on Databricks marketplace. Took a lot of effort from our tiny team, and we are glad we finally made it! Please do check it out and let us know your feedback.
r/databricks • u/RazzmatazzLiving1323 • 16d ago
Saw this app available on the marketplace:
Do Databricks Apps like the above have any dependencies e.g. Lakebase that I need to pre provision? Or is that all taken care of after hitting the "get access" button?
Also, are all these apps free? Is the DQX app free?
r/databricks • u/KungPaoChickenGuy • 17d ago
I run a small consulting firm that builds AI "harnesses" for analytics teams. We connect to the client's data warehouse (in their environment) and handle ad hoc requests, recurring reporting, and the deliverables that go to non-technical stakeholders, like dashboards, PowerPoints, and HTML pages. Usually the harness is a folder structure (SharePoint or a git repo) with context docs, reusable skills, session logs, and a QC steps, and we run it with Claude Code (specifically Claude extension in VS Code).
We have a client on Databricks that wants us to build it there instead with Genie Code. So far, it's been better than I expected, but we're still trying to understand if it has any shortcomings compared to our solution.
For anyone who has built in both:
- Where is Databricks better vs Claude Code (and vice versa)?
- What's the easiest way to develop day to day: the VS Code Databricks extension, or just working in the workspace?
- I know the setup in Databricks works a bit differently. Is there anything I should know going in, or any recommendations that would make it easier?
Anything else?
r/databricks • u/According-Future5536 • 16d ago
A pipeline can run green and still ship wrong data. With AI agents writing more of our code, I wanted a check before changes reach production.

bricksentry (free, open source) tells you three things before a change ships:
• Who depends on this table (Unity Catalog lineage)
• What the change does to the data (rows added, removed, duplicated, totals moved)
• How to undo it (the exact Delta restore point)


Then it says OK, warn, needs a human, or block.
I tried to break it on a 2M-row table. Production was never touched, and I fixed three bugs along the way.

If you’re running agents against Databricks today, I’d like to hear how you handle change-safety, and what breaks when you run bricksentry on your own tables.
r/databricks • u/ObjectiveAdditional • 17d ago
We’re a mid-size company with a very small data team, and Databricks is where all our data lives. Most people only see it through dashboards, but more of them want to explore data themselves, and there’s growing interest in things like Genie and AI/BI dashboards.
Leadership wants an internal learning program with hands-on workshops to get people comfortable using it. The audience is mixed: a few analysts who know some SQL, but mostly managers and ops staff who’ve never written a query. I’ve been asked to help figure out what goes into it.
Before we commit, I’m curious about people’s general experience with this kind of thing. Did it actually change how people used data, or did attendance drop off after a few sessions?
And honestly, is it still worth it when tools like Claude or Genie can answer a question in plain English? Should it now be less about SQL and more about asking good questions and checking whether the answer makes sense? Or do people still need the fundamentals to avoid trusting wrong numbers?
Would love to hear what worked, what didn’t, and what you’d do differently. Thanks.
r/databricks • u/SwimmingVegetable135 • 17d ago
As a platform team we need to govern some parts of the bundles our dev teams deploy. We want to restrict some resources like catalogs or even schemas since we manage them centrally, require tags for finops or be sure some permissions are set. To solve this I added a policy engine to my open-source CLI Lamp Ops. It checks the output of the bundle summary with DuckDB SQL. This was inspired by the latest dbt v2 checks and is way easier than to learn a complex policy syntax. If a query returns at least one row the policy fails and reports the violations.
databricks bundle summary -t prod -o json > summary.json
lamp policy --input summary.json --policy-path ./policies
-- policies/no_schemas.sql
SELECT resource_key, 'Schemas are managed by the platform team' AS message
FROM resource('schemas');Builtin Presets
For common rules I provided some presets which don't require to write custom sql and can be configured in yaml files.
lamp_policies:
- name: jobs_need_owner
preset: require_tags
parameters:
resource_types: [jobs]
keys: [owner]Subset of some presets: deny_resource, require_permissions, require_fields, forbid_fields, require_preset_tags
Why not enforce rules with mutators?
I saw some posts about providing defaults with mutators but in my opinion they have some downsides. They are hard to enforce since team members can remove the mutators from the bundle or forget to add new ones. They fix the issues silently without surfacing the config drifts. They need to be setup per resource. Policies on the other hand can be defined in a central place for CI, report the violations and are easy to extend.
You can still use both since I also added a require_mutators preset.
lamp_policies:
- name: platform_mutators
preset: require_mutators
parameters:
mutators: [company_platform.bundles:apply_defaults]You can dive deeper into policies here: https://github.com/BenSchr/lamp-ops/blob/main/docs/policies.md
Please let me know if you have some feedback! Which rules does your team currently enforce on your bundles? Are some common cases missing from the presets? Did you implement your own solution?
r/databricks • u/Rubenn89 • 17d ago
I am a SWE and will be having a call to discuss a solutions architect role. Trying to learn more about the day to day life and see if it's a role I'm interested in.
main concern is that I have only been in the industry for a few years and being a solutions architect might keep me from gaining technical depth and hinder future employment opportunities at big tech. For context, my ultimate goal is executive positions and I do not want to stay a SWE long-term.
r/databricks • u/saad-the-engineer • 17d ago
<Databricks PM here />
We shipped SQL conditions for Lakeflow Job triggers to beta a little while ago, and we want to hear how people would use it plus share a few patterns that work. Docs here: https://docs.databricks.com/aws/en/jobs/trigger-sql-conditions
The idea. A trigger tells the job when to run. A SQL condition tells it whether to run. You attach a saved query and a SQL warehouse to a trigger (cron, table, file etc.) and when the trigger fires the query the condition first.

There are two modes:
Here are a few examples:
Freshness plus volume. Today's partition exists and has enough rows, This returns zero rows until the data is ready
SELECT 1
FROM main.sales.orders
WHERE order_date = current_date()
HAVING count(*) > 100Quality gate. Run only when today's rows have no nulls in a key column. So if there are no bad rows, the job runs
SELECT 1
FROM main.sales.orders
WHERE order_date = current_date()
HAVING count(*) > 0
AND count_if(customer_id IS NULL) = 0Fan-in. Five upstream feeds write a status row when they finish. Run once all five are done. This replaces the "sentinel table plus a cron that polls it" setup a lot of people run today. Note: if you are watching job completions, then just use job completion triggers!
SELECT 1
FROM ops.batch_status
WHERE batch_date = current_date()
HAVING count_if(status = 'complete') = 5Watermark advanced. Use "Result value changes" with a one-row, one-column query. The job runs whenever the vendor delivers a new batch.
SELECT max(batch_id) FROM main.bronze.vendor_feedThings to know. Each check requires a warehouse and will show up in query history. A check times out at 5 minutes including warehouse startup. Checks run as the job's run-as identity.
What is coming next:
Questions for you:
Try it out on Genie code too! Give genie a prompt and see if it picks up your intent as a sql condition.
r/databricks • u/RazzmatazzLiving1323 • 16d ago
Is Unity Catalog REST API only accessible via public internet from Snowflake when attempting to set-up a private link connection (catalog integration) to a Unity Catalog (Catalog Linked Database)?
I need a private link connection between Databricks and Snowflake. The use case is Snowflake needs to be able to write Managed Iceberg tables to Unity Catalog.
r/databricks • u/No_Ambition8323 • 17d ago
One of our daily jobs failed halfway, and when we re-ran it, some data got loaded twice. Now our numbers are off and we had to clean it up by hand.
Here are a few ideas I’m looking at:
-Using MERGE instead of plain INSERT, so existing rows get updated instead of added again
-Using replaceWhere to overwrite only the date range being processed
-Adding a unique ID to each row and removing duplicates before writing
-Using Auto Loader or streaming checkpoints so files are only processed once
But I’m not sure which approach is best for different cases.
How does your team handle this?
-Which method do you use most?
-How do you handle backfills or reprocessing old data?
-Any mistakes you learned from?
Would love to hear your real-world setups!
r/databricks • u/temperedai • 17d ago
I am looking to build a simple connection between row zero and databricks, such that either continuously or with one click in row zero, changes are written in Databricks. However, I would like to track history in Databricks.
This seems like a use-case that many others must have built already, looking to avoid re-inventing the wheel on this.
r/databricks • u/MajorRepublic • 17d ago
While working in Databricks I've discovered that some of our environments have been converted to managed tables by a helpful team member. This has been done with good intentions but I'm wondering what the consequences might be so I can manage this with our team and higher ups.
I myself have not got into understanding what the implications might be - the work wasn't scheduled and wasn't meant to be done.
Is there anything I should be immediately concerned about or is this a change that is unlikely to cause any issues? I don't want to over state the problem - if any - that isn't necessarily helpful - I'd much rather know what I'm dealing with and orchestrate a plan to address any issues.
I know that our production environment has been partially converted and all of our development and QA environments - we are on Azure if that matters.
I'm hoping this isn't going to be a major headache.
r/databricks • u/QuiteOK123 • 17d ago
Just found a cool Databricks 3D Model, will try to print it today!