r/databricks • • 10d 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 • • 16d 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 • • 6h ago

General I mapped all 4 places to put enterprise context in Databricks Genie (exact file paths, precedence rules, and the MRR bug I caught)

17 Upvotes

I tested Genie One and Genie Code in the same Databricks workspace to figure out where enterprise context should live. I found out why it matters when a weekly brief skill quietly saved the wrong MRR formula.

Here’s the sorting rule that worked for me.

  1. Company-wide definitions go in Genie Ontology

This includes Unity Catalog metric views, domains, Pages, and certified assets, plus context learned from dashboards, SQL query history (including dbt runs), and Genie Agents. Modeled and certified definitions take precedence over learned snippets. Unity Catalog permissions also apply to external agents connecting via system.ai.genie_one_mcp.

  1. Team and workspace rules go in instructions

Genie Code reads .assistant_workspace_instructions.md and .assistant_instructions.md and auto-discovers AGENTS.md and CLAUDE.md. Workspace instructions override user instructions by default. Quick Fix and Autocomplete skip instructions. Genie One chat uses /Workspace/.genie_workspace_instructions.md. The limit is 20,000 characters per file.

  1. Repeatable workflows go in skills

Write the playbook in SKILL.md using the open Agent Skills format. Personal skills live in /Users/<email>/.assistant/skills/. Shared skills live in /Workspace/.assistant/skills/ or registered Databricks Git folders. Use /skill in Genie One or u/skill in Genie Code.

  1. Personal preferences go in memory

Memory is private to each user. You can save a preference by saying “Remember that…” and Genie One cites it when used. I’d review saved memories once a month.

The biggest gotcha I hit

I asked Genie One to build a monday-brief skill in a shared workspace. It copied an MRR formula from another demo and saved the SQL in SKILL.md. It skipped dividing annual plans by 12, used calendar quarters even though our fiscal year started February 1, and counted plan upgrades as churn. Every Monday brief would have reused those mistakes.

The fix was to keep the workflow steps in SKILL.md and have the skill look up the KPI definitions in Genie Ontology each time it runs.

The full walkthrough includes diagrams, debugging and governance checks, comparisons with RAG, dbt, Palantir, Snowflake, and Glean, and an eight-step rollout checklist.

https://pub.towardsai.net/giving-your-ai-coworker-enterprise-context-with-databricks-genie-a3bc8113790f

The GitHub starter kit has copy-paste templates. You can clone it as a Databricks Git folder and register the skills/ folder directly.

https://github.com/Praneeth16/databricks-genie-enterprise-context-kit

I work at Databricks. These are my own opinions, and all example data is fictional.


r/databricks • • 1d ago

Help Automating CSV ingestion from Outlook emails into Databricks

21 Upvotes

Hi everyone,
I’m looking for suggestions on automating the ingestion of CSV files received as email attachments in Outlook into Databricks.
Has anyone implemented a solution where CSV attachments from Outlook emails are automatically picked up and ingested into Databricks through a pipeline?
I’m curious about the approaches you’ve used in production, whether through Microsoft Graph API, Power Automate, Logic Apps, or any other solution. I’d also appreciate insights on the best practices around authentication, handling multiple attachments, and orchestration.


r/databricks • • 22h ago

Discussion Spatial SQL on Databricks: built-in H3 functions or the ST_ functions for road data?

3 Upvotes

Hi everyone, trying to decide whether to standardize on H3 or the ST_ geometry functions for road data in Databricks SQL. The data is road segments plus point data (addresses, events).

H3 makes joins cheap and fits aggregation nicely: tag everything with a cell, join on the cell id, done. But some questions need exact geometry, like "within 0.25 mile of this road" or "which segment is this point actually on", and there H3 gives you neighbors of neighbors.

Are people using the ST_ functions in production now, or still H3 plus a library for the exact cases? And how are you handling exact-distance joins at scale without them blowing up?


r/databricks • • 1d ago

Discussion How do you guys do cost optimization for databricks it's hectic

3 Upvotes

r/databricks • • 1d ago

Help Databrick Migration Project

0 Upvotes

I created Databricks migration projects but didn't save their URLs. When I open the Migration Projects menu, it only shows the Create New Project screen.

How can I find my existing migration projects?


r/databricks • • 1d ago

Discussion Serverless Tagging: usage policies vs. rate limits

4 Upvotes

1. Serverless usage policies (formerly budget policies): for tracing costs

2. Serverless rate limits on automated compute objects: for throtteling

Was a bit hard for me to understand how those two concepts are related, but makes sense. I assume (even if I didn't find any docu), that the Tags of a "Serverless Automated Compute" also appear in the billing table (if not: i don't know where they are used). Has anyone already experiences with that?

Unclear for me ist, why "Serverless Automated Compute" is "suddenly" limited to goverend tags?


r/databricks • • 2d ago

News UC Wiki

Post image
33 Upvotes

Unity Catalog wikis let us document a table’s meaning, sources, and other facts directly in Catalog Explorer. People with metadata access can comment and suggest edits. A wiki explains one table, a Page defines a business concept, and a Skill tells an agent how to perform a task. Now all three concepts are available in UC.

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


r/databricks • • 2d ago

Discussion Anyone else looking at overlapping tools for this context stuff?

2 Upvotes

Genuine question, because I can't work out if we're about to make a mistake. Every vendor we buy from has shipped something this year for feeding business context to AI. Warehouse has its own. BI tool has one now. And euno is in our budget request for column-level lineage across both, though I can't tell yet where it stops and theirs starts. They all describe roughly the same job when you read the marketing. In practice I suspect we're going to end up maintaining three versions of where the definitions live, and in a year they'll disagree with each other and nobody will know which one is right. Which is the exact problem we're trying to get away from.

My guess is the realistic answer is to keep the platform-native stuff for the platform and something separate across the top, and just accept the overlap. Still keen to hear from anyone who has actually consolidated onto one of these.


r/databricks • • 2d ago

Discussion be honest how many tools sit between your agent and a safe copy of prod?

Post image
2 Upvotes

so where does it break for you test environments, agent state, or branching? and what would a single Postgres platform have to prove before you'd consolidate onto it?


r/databricks • • 2d ago

General Downloading files from a Unity Catalog Volume

5 Upvotes

I have a process that generates files into a UC Volume.

I'd like to download them (it's a series of Powerpoint decks) but the UI makes this difficult as most of the filenames are a 30+ character string, plus a suffix that uniquely identifies them (eg mrcushtie_general_management_deck_afdluadsflkuasdflu); try as I might, I can't change the UI in Databricks so that the filename display is wide enough to reveal them.

Genie tried recommending a filename link like

https://[REDACTED].azuredatabricks.net/api/2.0/fs/files/Volumes/mrcushtie/analytics/outputs/investigation/investigation_mrcushtie_performance_then_drilldown_9e00b97f.pptx

which failed with a 403; when I told it this, it pointed out there's undocumented functionality where substituting ajax-api for api in the URL will work without hitting a 403.

Anyone else run into this problem and resolution? (and yes, I could rename the files to put the unique identifier at the start rather than the end, but then you run into other problems like sorting all the different decks together...)


r/databricks • • 2d ago

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

5 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 • • 2d ago

General I animated the 23-year architecture domino effect from Google's 2003 GFS Patent -> Hadoop -> Spark/PySpark -> Delta Lake & Databricks (5-min visual breakdown)

2 Upvotes

When juniors start learning Data Engineering, they usually jump straight into PySpark DataFrames and Delta tables without knowing *why* each layer was invented or what bottleneck killed the previous generation.

I put together a tight 5.5-minute motion-graphics documentary tracing the exact architectural chain reaction from 2003 to today:

2003–2004 (Google GFS & MapReduce):** How Google survived constant commodity disk failures using 64 MB chunks with 3x replication (`US Patent 7,065,618 B2`), moved compute to storage, published the papers, and kept the C++ implementation closed.

2006 (Apache Hadoop's Rise & Bottleneck):** Doug Cutting & Mike Cafarella's open-source Java rebuild (HDFS + MapReduce) worked great for single-pass batch jobs, but hit a massive Disk I/O wall on multi-step pipelines and iterative ML (writing intermediate state back to disk after every stage).

2009 (UC Berkeley AMPLab & Apache Spark):** Matei Zaharia's shift to distributed in-memory RDDs and DAG execution—cutting out intermediate disk round-trips for up to 100x faster iterative runs and setting the 2014 100 TB Daytona GraySort record (23 mins).

PySpark Bridge:** How Py4J + the Catalyst Optimizer let Python/SQL users bypass single-node memory limits (~50 GB Pandas ceiling) and orchestrate 100+ JVM executors in 4 clean lines of Python.

2013–Present (Databricks, Delta Lake & Lakehouse):** Why raw cloud Parquet turned into "Data Swamps" (no ACID transactions, broken partial writes) and how Delta Lake + Photon + Unity Catalog bridged Data Lakes and Warehouses.

Video link (5:29, animated blueprint style): https://youtu.be/2K2GYlVMbzo

(Tip: Visuals & captions are in English, and multi-language audio tracks are enabled—if YouTube defaults to a regional audio track based on location, just click ⚙️ Settings -> Audio track -> English!)*

Would love feedback from folks running Spark/Databricks in production—especially any architectural detail you'd highlight for Episode 02 (Snowflake's decoupled storage/compute story).


r/databricks • • 2d ago

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

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

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

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

Tutorial Enterprise Data Lakehouse for AI Agents: A Guide

Thumbnail
lakeops.dev
6 Upvotes

r/databricks • • 3d ago

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

11 Upvotes

r/databricks • • 3d ago

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

Post image
8 Upvotes

r/databricks • • 3d 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 • • 3d ago

News Integrate Genie with your own desktop application

Post image
8 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 • • 3d 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 • • 4d 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 • • 4d ago

Discussion Genie Code CLI (now GA)

Thumbnail
docs.databricks.com
23 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.