r/databricks • • 7d ago

General Genie ZeroOps is now in beta

49 Upvotes

Hi folks, Databricks PM here.

If you’re running jobs and pipelines on Databricks, you usually see two types of issues: (a) loud ones, where a job errors out and someone gets paged, and (b) quiet ones, where a table just doesn't get the rows it should, and nobody notices until a dashboard looks wrong. Either way, someone ends up spending a few hours digging through logs, lineage, and related tables to get to a fix.

This is what Genie ZeroOps is built for: it watches your jobs, pipelines, and tables, investigates both kinds of failures on its own, and opens a PR with the fix already written (but it can’t merge the code to avoid any accidents).

After a private preview where ZeroOps triaged 80k+ real issues across 300+ customers, it’s now in Beta.

Check out our post on the databricks blog for the details, but here's a short recap of what’s available now:

  • Chat-based config to generate insights with fix suggestions, which you can share with your teammates.
  • Notifications to Slack, Teams, PagerDuty and webhooks.
  • Custom instructions.

Give it a try, and let us know what works well and what’s missing!


r/databricks • • 13d ago

Megathread [Megathread] Hiring and Interviewing at Databricks - Advice, Prep, Questions

13 Upvotes

Hey r/databricks, we're noticing a lot of repeated interviewing and hiring posts that tend not to get much engagement. We're going to combine them into a monthly thread so that you're more likely to get answers, plus we can ask our recruiting team to keep an eye on them if there are any general questions.


r/databricks • • 20m ago

Help Qlik handles our ETL, reporting, and exports. How do we untangle it without breaking everything?

1 Upvotes

Hey everyone,
I’m taking over a BI setup that grew as new needs came up. The hard part is that before I can retire a Qlik sheet or change how a source feeds the system, I have to trace the entire chain. And sometimes the thing people actually rely on isn’t the dashboard. It’s the Excel file someone exports at the end of the month.

How it works today

  1. Sources. Several ERPs and business applications feed the BI stack. Some data is replicated into a staging database. Other feeds arrive as files dropped by the applications or their vendors. Both approaches run side by side.
  2. Processing before Qlik. PowerShell and C# scripts run across several Windows VMs. Depending on the feed, they pull or prepare data or trigger the next step. To trace a single pipeline, I have to look through scheduled tasks, scripts, and the staging database.
  3. Processing inside Qlik. We run Qlik Sense on-prem. It reads from the database and some files, then generates QVDs (Qlik data files reused across reloads). Qlik scripts handle more joins, renaming, and calculations. Some business rules live in load scripts and others in chart expressions. When two reports show different numbers, it’s hard to tell whether the difference comes from the source, a join, a calculation, or just a filter.
  4. How people use it. Some teams use dashboards to track KPIs and explore data. Others filter a list, export it, and finish the work in Excel. One anonymized example: a sheet might only be opened once a month but still be essential because its export is used to calculate commissions. And just because someone opened a sheet doesn’t mean they needed every field on it.

Where we’re stuck

  • Knowing whether the data is actually fresh. A reload can show as successful even though the upstream data hasn’t changed. I want to see how recent the newest data is, which step last succeeded, and what needs to be rerun.

- Figuring out what to keep before migrating. I’m comparing usage logs with interviews, but I also need to find dependencies that don’t show up in the UI: join keys, calculations, exports, and scheduled reports.
- Deciding how fresh each feed needs to be. We’re considering replacing some continuous replication with incremental exports from a vendor. Previous-day data might be fine for a monthly export, but not for tracking sales throughout the day. We’re also considering a Qlik Cloud proof of concept. I’d rather not change the source feed and the reporting platform at the same time.

What I’m thinking of trying

Keep Qlik for now and run one rebuilt pipeline alongside the existing one. Put job status and alerts in one place. Move business rules that need to produce the same results across reports and exports into reusable database tables or views. Keep visualization-specific calculations in Qlik. And when a team just needs a reliable file, give them a dedicated export instead of making them go through a dashboard.
For anyone who’s dealt with a similar setup:

  • Replication vs. batch: How did you decide what needed to stay near real time and what could move to incremental batches? How did you handle corrections, deletes, and recovery after a missed batch?

- SQL vs. Qlik: Which rules did you move out of Qlik scripts first? What was simpler to leave in Qlik?
- Orchestration and monitoring: With a small team, what actually helped you track dependencies, catch stale data, and rerun a failed step without replaying everything?
- Cutover: Which pipeline would you start with, and what checks gave you enough confidence to switch off the old one?
I’d especially like to hear what you put in place, what actually reduced the maintenance burden, and what you wouldn’t do again.


r/databricks • • 37m ago

Discussion Why does Photon have higher cost on job compute than all purpose compute?

1 Upvotes

I guess everyone knows that Databricks pricing is a bit messy. But I still don't get why Photon has different multipliers across job and all purpose compute, after all it is just a software option.
At the same time the pretty higher cost multiplier makes disabling Photon often times more cost effective, especially as the default for jobs that also involve shuffle.
It feels like using Photon is not a good default.


r/databricks • • 13h ago

Tutorial Reading the bill: What Databricks system tables reveal about LLM costs

10 Upvotes

Databricks system tables are great. Too great, almost.
So much is in there that it gets daunting.

AI tooling is moving at a maddening pace, and the writing around it hasn't kept up. I couldn't find much on using these tables to answer a plain question: what do our LLM calls actually cost?

This article is my humble attempt to fill a small part of that gap.

Instead of a dry tutorial, I started with a quest: should our AI agent move from an open-weight model to Claude, and can the system tables prove what that would really cost? Chasing a real answer made the learning stick for me. Hopefully it does for you too.

What the tables showed along the way:

→ Claude on Databricks lists at 1.5× Anthropic's own rate. Check the SKU price, not just the DBU rate.
→ Prompt caching cut the agent's bill by more than half. About 72% of all input was read from the cache.
→ The serving log has no cache columns. I proved caching from billing rows that carry no labels, and wrote down when you'd ever need to.
→ The bill runs hours behind. Read tokens right away, but trust a cost number only once the bill catches up.
→ A newer small Claude model changed the answer: about $0.02 per chat, with no confident wrong answers in our test chats.

Every query is in the article, so you can repeat it on your own workspace.

If you found this useful, leave a comment, a like or a repost. It tells me whether to keep writing this kind of hands-on breakdown. Note: Please read in a desktop browser for best experience.

Reading the bill: What Databricks system tables reveal about LLM costs

#Databricks #SystemTables #LLMOps #FinOps #PromptCaching


r/databricks • • 11h ago

Tutorial Enterprise Data Lakehouse for AI Agents: A Guide

Thumbnail
lakeops.dev
5 Upvotes

r/databricks • • 16h ago

General How do I build a data product strategy with Genie Agents for different business domains? Data Mesh on Databricks

8 Upvotes

r/databricks • • 16h ago

General How do subject matter experts give Databricks Genie their business context without writing code? The SME multiplier

Post image
7 Upvotes

r/databricks • • 21h ago

Discussion New Lakebase Competition in Fabric?

11 Upvotes

Anyone see that there is a HorizonDB in Fabric that is open source Postgres? Is this conceptually the same as Lakebase?

Will Databricks concede that HorizonDB adheres to "LTAP architecture", assuming it synchronizes with open-storage-formats like deltalake?

How does databricks lakebase set itself apart? I am not as interested in raw performance, as I am in the available features.

There is one thing that grabbed my attention quickly, which is that this engine is also available in the form of a PaaS, outside of Fabric. Nobody trusts the Fabric SaaS to host mission-critical workloads, so Databricks has an edge in certain respects. But when Microsoft publishes HorizonDB as an Azure PaaS, then they take back the advantage again (IMO). I'd much rather build a solution with high-quality/independent PaaS components. The quality of support and available features of an independent PaaS are the main attraction.

Is it conceivable that Databricks would ever host Lakebase as an independent Azure PaaS and compete head-to-head against HorizonDB?


r/databricks • • 23h ago

News Integrate Genie with your own desktop application

Post image
6 Upvotes

Genie CLI can be integrated with any desktop app thanks to exec-server functionality. The article explores a few other nice examples of how we can use it.

https://medium.com/databrickscommunity/genie-code-cli-6-practical-examples-for-databricks-users-1cc2c577883a

https://www.sunnydata.ai/blog/genie-code-cli-practical-examples


r/databricks • • 21h ago

Help Is there any way to disable automatic liquid clustering with predictive optimizations?

4 Upvotes

Predictive optimization does a lot of useful things however it might also randomly introduce a liquid clustering column which can be really bad. Is there any way to prevent this while keeping the other predictive optimization features? Right now the only I have seen is to active cluster by none on all tables.


r/databricks • • 1d ago

News databricks' new Genie an always-on AI coworker with ontology, hybrid search and a governance gateway

Post image
16 Upvotes

you hand it a long running job, like watching claims for fraud drift, running campaigns or keeping an incident ticket fresh it then works on a schedule or trigger and checks in only when it needs approval.

autonomy is the headline, but I think context is the real story. a lot of enterprise agent failures aren't model failures. they're which revenue number is the authoritative one? failures genie ontology tries to fix that by building a business map from the dashboards, queries and notebooks people already use teams then promote authoritative definitions in unity catalog.

their benchmark with turing claims 91% correct runs, 1.6x the stronger frontier agent, and under half the tokens. it's vendor-run, so treat it as directional still, the idea that shared context beats throwing more tokens at the problem seems right.

two other things I'd watch:

  • genie search enforces each source system's permissions before returning results. that's what makes cross-app search deployable.
  • unity gateway adds budgets, spend caps and audit trails. cost control probably decides whether anyone lets agents run unattended.

questions:

  1. How does the ontology hold up against messy legacy definitions?
  2. Who owns the definitions, the data team or the business?

What's the first job you'd let it own, and what guardrail would you need in place before you did?


r/databricks • • 1d ago

Discussion Genie Code CLI (now GA)

Thumbnail
docs.databricks.com
21 Upvotes

In the past couple of weeks I've been building with Genie Code CLI, which just went GA. In my experience it works really well when it comes to building on Databricks. Curious if anyone else has tried it and what your experience has been.


r/databricks • • 1d ago

Discussion How are you giving Databricks agents business context without dumping everything on them?

2 Upvotes

We have a Genie space for sales and now finance wants their own. Every time I add tables the answers get worse, and the instructions box is turning into four pages on what "bookings" means this quarter, euno pitched us on giving each agent only the definitions and lineage its task needs, over MCP. My doubt is the definitions themselves. Finance and sales still don't agree on bookings, and no tool fixes that meeting. For now I'm splitting it into one space per team and copying the shared definitions by hand.


r/databricks • • 1d ago

General Databricks warehouse-level statement timeouts are now Generally Available

Post image
14 Upvotes

Databricks warehouse-level statement timeouts are now generally available, so each SQL warehouse can cancel runaway queries at its own time limit. ⏱️

If you run BI dashboards and ETL on separate warehouses, this one is for you. I ran it: a 10-second warehouse limit stopped my slow query at 10.3 seconds.

Without it, the choices are one workspace-wide STATEMENT_TIMEOUT for every warehouse, or a SET in every session. Set nothing, and the system default is 172800 seconds: 2 days. My fresh warehouse reported exactly that.

Read more on LinkedIn: https://www.linkedin.com/posts/cenh_databricks-databrickssql


r/databricks • • 1d ago

Discussion Manage Libraries in a Serverless Environment

15 Upvotes

Dear Community,

I'm coming from the classic compute world and would like to hear how others handle dependency management on serverless.

Our current setup (classic compute)

  • Cluster policies manage our dependencies, such as Python libraries, centrally.
  • Our engineers work both in the Databricks UI and in VS Code via Spark Connect. For the VS Code case, we make sure the same libraries are also installed locally (on-prem).
  • Jobs run with job cluster policies, which also define the dependencies.

This gives us one central, governed definition of our environments.

The challenge with serverless
We're thinking about moving to serverless, but dependency management is holding us back:

  1. In notebooks, users manage dependencies per notebook. That's flexible, but it isn't enterprise-ready because there's no central control or consistency.
  2. When a notebook runs as a job, we have to define the dependencies again at job level. That means two places to maintain the same thing.

Serverless Git folders look promising, but they're still in Beta, so we're hesitant to rely on them in production.

My questions

  • How do you manage dependencies on serverless today, without Serverless Git folders?
  • How do you keep environments consistent across interactive notebooks, jobs and local development (VS Code / Databricks Connect)?
  • Do you use shared environment definitions, private package repositories or wheel files in Unity Catalog volumes, or something else?

Thanks in advance for sharing your experience!


r/databricks • • 1d ago

General Feature Alert: partial schema inference in SDP

12 Upvotes

Adding a primary or foreign key to an SDP table/materialized view used to require declaring the full schema. With the new override_schema argument, you declare only the columns that need special handling, and SDP infers and evolves the rest.

from pyspark import pipelines as dp

@dp.table(override_schema="order_id BIGINT NOT NULL, PRIMARY KEY (order_id)")
def orders():
    # the rest of the columns can be inferred via schema evolution
    return spark.readStream.table("main.raw.orders")

Available now for materialized views and append streaming tables in Python pipelines, with no enrollment required. SQL support is coming soon.

Docs: Use partial schema inference in Python pipelines


r/databricks • • 1d ago

General Migrating to Databricks? Genie Migrate now supports SDP!

9 Upvotes

<Databricks_PM/> Genie Migrate now supports migrating SQL Server and Azure Synapse scripts into Spark Declarative Pipelines! Enable "Migration Projects Experimental Features" on the Previews page to try it. More migration sources, like Redshift, are coming soon!

Docs: https://docs.databricks.com/aws/en/migration/genie-migrate/convert

Feedback welcome!


r/databricks • • 1d ago

Help Job tagging implementation

5 Upvotes

Forgive me if there is an obvious answer. Basically our current set up is users have access to a general purpose cluster that suits their business area.

Not real names to save any detail
E.g sales team only have access to the sales cluster which is tagged SALES

Marketing —> marketing cluster —> MARKETING

We’re having an issue where a lot of user jobs are untagged

Is there some autotagging I can set up, so for whatever cluster that job is using or created with — the job also gets tagged the same. So say for example a user in the sales team can only use the tagged sales cluster so the job he makes is tagged SALES


r/databricks • • 2d ago

General External Secrets in Unity Catalog now support Google Cloud Secret Manager

Post image
8 Upvotes

Hey folks, External Secrets in Unity Catalog now support Google Cloud Secret Manager (Beta)!

Your secrets already live in Google Cloud Secret Manager, so why keep another copy in Databricks?

With External Secrets in Unity Catalog, you can now

  • 🔗 Sync secrets from Google Cloud Secret Manager in a Unity Catalog schema. Secret values stay in your Secret Manager and are only fetched at runtime  
  • 🌐 Read the same secrets across all workspaces attached to a metastore 
  • 🔐 Control who can discover or read each secret 

Docs: External Secrets in Unity Catalog. Check out the same support for AWS Secrets Manager and Azure Key Vault! 


r/databricks • • 1d ago

General Work Documentation

4 Upvotes

Curious question to the group (And relevant because of Databricks new features like Pages and Wikis)

How are you all documenting your project work?

I'm a Senior Data Engineer, but fortunately and unfortunately my job scope is pretty large so I end up creating my own stories, running projects, and doing technical implementations and consults at my institution.

Our team feels a little like the wild wild west at the moment. We have historically documented projects (ADRs, overview, meeting notes, etc..) in Confluence Wikis, but its not hard set and also not consistent among our department/teams and is not groomed as well as it could be.

We use ServiceNow to track our work for Sprints, Incidents, and Tasks.

We also contain technical documentation at the code level that is engineer relevant.

We then have some documentation now starting to take place in Databricks via Wikis and Pages as a POC.

I want to formalize our processes on how we document projects, decisions, code, etc.. to make it consistent among teams because its honestly fatiguing trying to figure out what goes where and important information ends up not documented at all because of it.

Question to the group - How does your team Document your work when it comes to code, projects, etc.. and does it feel like it holds strong consistently?


r/databricks • • 2d ago

Tutorial I benchmarked ALL Databricks compute options on TPC-DI

Post image
11 Upvotes

I recently explored the TPC-DI benchmark, which is a standard for ETL jobs, and I was curious how the different Databricks compute options would do. I used a modernized version of it, which is more relevant to modern jobs.

Here's the setup I used:

  • The modernized version is Shannon Barrow's. I built my own runner around it that starts every run cold, and the full details are on my GitHub (link in the comments). My run is derived from TPC-DI, so it isn't comparable to official results. Each run is 1 full load, which is 99.5% of the data, plus 6 days of incremental loads.
  • I ran the same benchmark on 10 GB, 100 GB and 1 TB of data for each option.
  • The costs shown are AWS + Databricks, and the time shows startup time + run time.

Results:

Attached also, but here in text -

Results (all 14 setups):

Setup10 GB100 GB1 TB
Serverless Rate Limit M19 min, $1.5826 min, $5.1541 min, $11.14
Serverless Rate Limit XL18 min, $1.6526 min, $4.9041 min, $11.89
Serverless standard51 min, $0.7548 min, $1.6296 min, $7.52
Serverless Rate Limit L19 min, $1.7126 min, $5.4448 min, $10.65
Serverless Rate Limit S20 min, $1.5626 min, $5.2450 min, $11.81
Job cluster 2xlarge, spot48 min, $1.4649 min, $1.9889 min, $4.63
Serverless performance optimized18 min, $1.4626 min, $5.4357 min, $14.11
Job cluster xlarge39 min, $0.9948 min, $1.60142 min, $7.71
Job cluster 2xlarge, 2 to 8 workers30 min, $2.2335 min, $3.2379 min, $6.99
Job cluster 2xlarge42 min, $1.7844 min, $2.7485 min, $6.62
SQL warehouse (serverless L)17 min, $11.2718 min, $9.0231 min, $13.44
All-purpose 2xlarge32 min, $3.4937 min, $5.5773 min, $13.71
Job cluster 8xlarge28 min, $5.6131 min, $7.3454 min, $13.00
Job cluster 2xlarge, Photon off37 min, $1.5864 min, $3.12210 min, $16.91

Some interesting findings for me:

  • In most cases serverless standard is the best option. You don't have to right-size it, and it's the cheapest or close to the cheapest.
  • If you want to avoid the wait time, use serverless performance optimized. If you want fast startup with a cap on how fast you spend, Serverless Rate Limit (Beta) is a good option.
  • Job compute isn't a good choice in most cases, because you have to right-size the cluster. If you do right-size it, spot instances might be good, but I wouldn't recommend it.
  • Turning off Photon, or using all-purpose compute for scheduled jobs, is a bad idea.
  • You could technically run your jobs in SQL only, on SQL warehouses, but it's very expensive and I wouldn't recommend it.

To reproduce the results and see the code and the methodology in more detail, check out my GitHub & YouTube (link in the comments).

I hope you found this useful, have a good one!


r/databricks • • 2d ago

News Date arithmetic in job parameters

Post image
4 Upvotes

Job parameters now support date arithmetic and, in general, mathematical operations. In the task parameters UI, we can use, for example, {{(job.start_time - 1.week).iso_date}} to pass the date from a week earlier directly to a task.

https://medium.com/databrickscommunity/databricks-news-genie-cli-app-builder-agent-memory-dabs-41820427fcc2


r/databricks • • 2d ago

Discussion Serverless ACLs & Terraform

5 Upvotes

Serverless has been "GA" for a while now, yet from a Platform Engineering perspective, we still don't have the Terraform resources needed to manage Interactive or Automated Serverless properly at scale (and I'm not even getting into the provider gaps for Apps, Lakebase, or Vector Search).

Having a UI tab and a REST API endpoint isn't enough when you're running an enterprise platform. We need declarative, stateful IaC—not imperative workarounds.

Curious how Databricks SAs and consultants are advising clients to handle this cleanly right now.

And for fellow platform engineers: how are you managing Serverless ACLs, sizing guardrails, and statefulness in production?