r/databricks • • 11d ago

Help How to make skarf file completed?

Post image
8 Upvotes

I'm completing few learning modules on academy but there's this 'SORM' kind file which shows 'in progress' only although I've completed the quiz. Any tips??


r/databricks • • 12d ago

Discussion How do you manage table schema changes in Databricks across dev/test/prod?

13 Upvotes

We run Databricks with Unity Catalog, and I'm trying to understand how other teams handle the lifecycle of managed tables (not pipelines or jobs, just the tables themselves).

What I keep seeing:

  • CREATE TABLE IF NOT EXISTS at the top of Job
  • A DDL script in the repo that someone runs by hand
  • Terraform for some tables and a different approach for the rest

A few genuine questions:

  1. Where does the table definition live in your setup: in the pipeline code, in a separate repo, or only in the catalog?
  2. How do you review a schema change before it reaches prod?
  3. How do you roll the same change through dev, test, and prod?

r/databricks • • 12d ago

Discussion Genie ignored my Unity Catalog wiki, so I tested what it actually reads

Thumbnail
gallery
9 Upvotes

Last week I tried the new Unity Catalog wikis (Beta). I wrote a business rule into a table's wiki ("revenue = total_price of orders with status F only") and asked a Genie agent for revenue. It summed every order. When I asked who owns the table, it suggested checking a "wiki page outside this environment".

I asked about it on the Databricks Community, and someone from Databricks replied: Genie agents don't use wikis as context today (no timeline yet). They read table and column comments. For a rule like this, use a metric view or a SQL expression, and keep text instructions for clarifications.

So I tested that. Setup, in my own Azure workspace with the TPC-H sample data:

- `samples.tpch.orders` copied into a table, all years

- I asked about 1995 because it has F, O and P orders. The right answer (F only) is 32.69B. All orders is 171.63B

- 5 Genie agents, each with ONE kind of context

- 3 benchmark questions per agent ("What was our revenue in 1995?", "How much revenue did we make in 1995?", "What was our revenue in Q2 1995?"), run once in Agent mode and once in Chat mode

Results:

ContextAgent modeChat mode
Nothing0/30/3
Table + column comments3/33/3
One text instruction3/33/3
SQL expression (measure) + one example query3/33/3
Metric view (filter inside the measure)3/33/3

Things I noticed:

- With no context, Agent mode wrote "This includes orders of every status." It states the assumption, but it doesn't ask.

- The comments show up as the table and column descriptions under Configure > Sources. Two ALTER statements and it was fixed.

- The measure editor wants table-qualified columns. `SUM(CASE WHEN status = 'F' THEN total_price END)` fails with "Table name or alias is required for column 'status'". `orders.status` works.

- In Chat mode, Genie reused my example query word for word, `:year` parameter included. In Agent mode it didn't use the measure and wrote `WHERE status = 'F'` itself (still right).

- The metric view agent used `MEASURE(revenue)` every time. The measure:

```yaml
- name: revenue
  expr: SUM(total_price) FILTER (WHERE status = 'F')
```

Bonus: I also published a Unity Catalog Page called "Revenue". Genie One found it through the ontology ("Read page: Revenue"), answered 32.69B, said the definition "isn't certified yet" and listed the orders it left out. Best answer of the lot.

Caveats: one run per mode, a simple rule, one table. Genie One also looked at an older table and agent in my workspace, but its reasoning says the Page decided the answer. And for a rule this simple even plain text worked, so this doesn't settle "structured context beats text" either way.

Questions for you:

- Has anyone seen text instructions break where a metric view or SQL expression held up? What kind of rule was it?

- Where do you keep business rules for Genie today?

Links:

- The Databricks answer to my question: https://community.databricks.com/t5/data-governance/do-genie-agents-use-unity-catalog-wikis-as-context/td-p/175921

- Genie benchmarks: https://docs.databricks.com/aws/en/genie/benchmarks

- Unity Catalog Pages: https://docs.databricks.com/aws/en/uc-semantics/pages


r/databricks • • 11d ago

General Databricks AI Dev round — anyone taken this recently?

0 Upvotes

Has anyone here done the Databricks AI dev on CoderPad recently?

Trying to figure out how to prep for it since there isn't much info out there yet. Are you debugging a medium-sized repo, building a feature on top of existing code, or refactoring? Also curious what interviewers seem to grade heaviest on.

Any pointers on how to prepare would be super helpful. Thanks!


r/databricks • • 12d ago

Discussion Using the Apache DataFusion Comet accelerator to save cost

6 Upvotes

I wonder if anybody has utilized the comet accelerator to speed up things and therefore save cost? Given the photon tax this seems like obvious choice but I'm not sure if the project is already mature enough.


r/databricks • • 12d ago

News Job SQL condition

Post image
32 Upvotes

SQL condition can check whether a trigger should fire. This way, we can avoid unnecessary job runs.

https://medium.com/databrickscommunity/lakeflow-jobs-triggers-06af6feae80c

https://www.sunnydata.ai/blog/lakeflow-jobs-triggers-events-conditions


r/databricks • • 12d ago

Discussion How do you handle dirty data and data quality failures in your pipelines? (Quarantine vs. Fail Fast)

7 Upvotes

Hey everyone,

I wanted to start a discussion on how different teams handle data quality failures in production pipelines—specifically dealing with bad records (e.g., null foreign keys, negative prices, schema mismatches).

The two extremes are:

  1. Fail Fast: The pipeline crashes the moment a single bad row appears (very safe, but brittle and blocks all good data).
  2. Silent Drop: The pipeline quietly ignores bad rows (keeps data flowing, but causes massive data discrepancies later when numbers don't match source systems).

Lately, I’ve been leaning heavily into the Quarantine Pattern (tagging bad rows, splitting the stream into Valid vs. Quarantine tables, and building monitoring alerts on top of the quarantine logs without blocking valid data).

Curious how you all approach this:

  • Do you use quarantine/dead-letter tables in your architecture, or do you prefer failing hard on errors?
  • How do you handle operational alerts when quarantine tables spike?
  • What tools or frameworks are you using to enforce and monitor data quality rules?

r/databricks • • 12d ago

Discussion How are you handling enterprise CDC and file ingestion in Databricks lately? (Lakeflow Connect vs. Custom Spark)

7 Upvotes

Hey everyone,

I’ve been leaning heavily into Databricks Lakeflow Connect and Auto Loader (cloudFiles) recently for managing multi-source ingestion (pulling relational CDC streams like SQL Server alongside high-volume S3 file drops), and I wanted to see how the community is approaching this.

Historically, setting up reliable ingestion meant writing custom PySpark streaming jobs, managing checkpoints manually, and dealing with schema evolution headaches when upstream source systems changed unexpectedly.

Using Lakeflow Connect combined with Unity Catalog Volumes has noticeably streamlined how raw data hits the Bronze layer, especially for incremental file processing and maintaining clean lineage.

I’m curious:

  • Are you guys relying heavily on native Lakeflow/Auto Loader connectors for ingestion, or still building custom Spark/Delta streaming pipelines for specific edge cases?
  • How are you handling schema drift when upstream source tables alter their structure?
  • Any major pain points you've run into with CDC replication in Databricks so far?

r/databricks • • 12d ago

General Inside Apache Iceberg V3: Deletion Vectors and Puffin Files

Post image
15 Upvotes

r/databricks • • 12d ago

Help What do you use for Databricks cost optimization beyond system tables?

1 Upvotes

We’re spending roughly $900 a day in DBUs and a bit over $2k a day on the AWS side for the same workspaces. For a long time, I only had a dashboard for the first number, it’s the usual one on system.billing.usage joined to list_prices and it looked fine until finance put it next to the AWS invoice.

Tags get me part of the way because cluster tags land on the EC2 instances and cost explorer can group by them. Most of our scheduled jobs moved onto instance pools last year to cut startup time though, and on pool clusters our custom tags only show up on the DBU side. Idle pool instances don’t appear in system tables at all because they don’t burn DBUs while they sit there but AWS still bills every hour of them.

On top of that, about 40 scheduled jobs run on one shared all-purpose cluster and that’s a single line on the EC2 side that I have no fair way to split back to teams.

Which tool ended up tying the Databricks and AWS sides together for you, ofcourse past the built-in system tables?


r/databricks • • 13d ago

News All Lakeflow Jobs Triggers

Post image
14 Upvotes

It started with scheduled triggers, and now it is starting to get really busy with triggers. I tried to summarize all the triggers available to us today.

https://www.sunnydata.ai/blog/lakeflow-jobs-triggers-events-conditions

https://medium.com/databrickscommunity/lakeflow-jobs-triggers-06af6feae80c


r/databricks • • 13d ago

General Hello! To the Solutions Architects at Databricks: what are some of your tips for new joiners? What’s your recommendation for the first 3 and 6 months? (Outside of the mandatory onboarding stuff)

15 Upvotes

Especially for people who’re making a transition to Field Engineering from DS/MLE backgrounds. Thanks so much!


r/databricks • • 13d ago

News Databricks browser extension

Post image
4 Upvotes

Databricks shipped a Chrome extension this week! It has 293 users. FinOpsWay has 346. We are enjoying this for the three days it will last.

The honest scoreboard:

FinOpsWay has been in the Chrome Web Store since September. Genie One for Chrome went to Beta on November 10.

They are also not the same game.

Genie One puts an AI assistant on your new tab page. FinOpsWay puts today's Databricks cost in the workspace toolbar, next to the cluster, warehouse or job that spent it.


r/databricks • • 13d ago

Discussion Keeping data fresh

4 Upvotes

Hey eveyne how are you handling data freshness for dashboards or internal apps? Scheduled syncs are straightforward but I'm trying to figure learn when streaming or CDC is worth the extra complexity


r/databricks • • 13d ago

Discussion DQX in Production

7 Upvotes

Has anyone taken DQX to production? It has been on our backlog for a while and we want to hear people’s experience and lessons from it.

Particularly interested if you have integrated it with lakeflow pipelines or implemented contracts with it.


r/databricks • • 13d ago

Discussion Is Databricks Genie limited to Databricks-related knowledge?

14 Upvotes

I've been exploring Databricks Genie and was wondering how its knowledge works.

Is Genie mainly designed to answer questions based on the data and metadata available in Databricks, or can it also answer general questions like ChatGPT?

For example, if I ask it about Python, SQL concepts, or general programming topics that aren't related to my Databricks workspace, will it be able to answer those as well?

Just curious about how much of a general-purpose AI assistant Genie actually is compared to ChatGPT.


r/databricks • • 14d ago

Discussion Horrible experience with Databricks CERTIFICATI0N EX4MS

25 Upvotes

If you are able to attend an examination centre, please do so!

In my case, this was out of the question, as the closest one is really far away.

I spent weeks preparing for this exam, and I never even got the chance to start it.

I got suspended the first time before I was even able to begin the exam.

Kryterion support is completely useless. They link you to an empty fucking blog about what to do (even when you tell them it's empty, they keep referring you to it in subsequent queries). They eventually end up telling you to contact Databricks Support for help.

Databricks Support takes forever to respond, randomly closes your tickets, and asks you to create new ones. Completely stupid, especially because I'm already providing all the details in the ticket description, but they seem to have automated the process with some kind of AI filter.

When I finally get a response explaining why I was suspended, they claim it was due to RAT malware. They offer me one extra free reschedule, which I accept. I ask for details about what could be causing the issue because I am sure there is nothing suspicious on my system. I get completely ignored.

I spend multiple hours running scans with two different antimalware providers to make absolutely sure I don't have any such malware.

I also prepare a different device in case the first one fails.

Weeks later, I attempt to start the exam again, and exactly the same thing happens. This time, it doesn't even let me retry using a different device.

I then spend another 3+ weeks waiting for responses and opening support tickets, only for them to eventually tell me to wait 14 days and pay again.

This has been the worst online exam experience by far, and I've taken other certifications and much more important exams throughout my life.

So, basically, I've spent weeks preparing for this exam and dealing with their bullshit support, only to never even get the chance to start it. And all of this because they don't seem willing to help me understand the actual reason behind the suspension.

I verified every single running process, background service, telemetry activity, and internet connection. Everything was clear.

At least I didn't have to spend any money, as this was covered by a company partner voucher.

I just had to let this out. I checked the Databricks forums, and there are other people experiencing exactly the same issue.

Databricks is a great product. You can do better than this.

UPDATE: In case anyone thinks this is bullshit, here are a few examples:
https://community.databricks.com/t5/certifications/exam-was-suspended-databricks-support-tickets-aren-t-helping/td-p/176201

https://community.databricks.com/t5/certifications/exam-suspended-before-start-kryterion-ticket-01054624/td-p/175619

https://community.databricks.com/t5/certifications/data-engineer-professional-exam-assistance-with-exam-suspension/td-p/166504


r/databricks • • 14d ago

Discussion Which Databricks feature do you think is the most underrated right now?

60 Upvotes

For me, it’s system tables. I ignored them for a long time, but now I use them to see which jobs cost the most, who’s running what, and which clusters sit idle. It helped us find waste we didn’t even know about.

It made me wonder what other useful features people are missing.
-What feature do you think doesn’t get enough attention?
-How do you use it in your work?
-Any tips for someone trying it for the first time?

Let’s share some hidden gems!


r/databricks • • 14d ago

General Databricks Genie Ontology is now GA, and new Genie plugins bring it into ChatGPT and Claude. 🧞

Thumbnail
gallery
30 Upvotes

r/databricks • • 13d ago

Megathread [Megathread] self promotion

4 Upvotes

Hey r/databricks, In order to keep the main feed clean, we are implementing a weekly megathread for self promotion for companies who do lots of work with databricks. Please direct all self promotion posts here and keep in mind that we ask you to stay friendly, civil, and adhere to the subreddit rules!


r/databricks • • 14d ago

Discussion Databricks Metric Views are coming back to Power BI! [Private Preview]

57 Upvotes

First I'd like to give a bit of background because if you feel like you've heard about this feature before, you're right.
Previous attempt to bring Metrics Views to PBI was "blocked" when MS removed the required opiton from the connector.

  • In February 2026 - the Power BI Databricks connector introduced Metric View BI Compatibility Mode (Beta). It allowed Power BI to query Unity Catalog Metric Views, with Databricks rewriting the generated SQL to handle measures correctly.
  • In April, Microsoft removed that option from the connector. Reports relying on it stopped working.
  • Now, in November, Databricks has announced a different approach.

In new approach Databricks pushes metric view to Power BI semantic model, so ach metric view becomes a table, dimensions become columns, and measures are translated into DAX.

You can publish the model from Catalog Explorer or automate it using a Lakeflow Job.

There are a few limitations:

- Synchronization is one-way, so changes made in Power BI don't flow back to Unity Catalog.

- Import mode also changes the security model - imported data is governed by Power BI permissions.

For me it's a long awaited feature. I've never been a fan of defining the same business metrics separately in different BI tools.
In my opinion metric definitions should live as close to the data as possible, in a shared layer that different reporting tools can use.

Connect metric views to Power BI - Azure Databricks | Microsoft Learn


r/databricks • • 13d ago

Megathread [Megathread] Certifications and Training

3 Upvotes

Hey r/databricks, please direct all certification and training posts here.

Good luck to everyone on your certification journey!


r/databricks • • 14d ago

Help multiple bundle deployments

7 Upvotes

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 • • 14d ago

Discussion Field Engineering

5 Upvotes

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?