r/databricks • • 11d ago

General Genie ZeroOps is now in beta

50 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 • • 18d 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 • • 2h ago

Help Genie Code Did What?!

3 Upvotes

Ok, I've heard stories of AI deleting repos, dropping tables, etc. But this is the first time I've been witness to something like this... Genie deleted my coaching student's PAT she set up for her github connection... Twice! Luckily this is not as destructive as those other things, but I've always known Genie to do a great job... I do think this is the exception and not the rule, but curious if anyone else has had this happen? Am I just lucky / safe when I use Genie?


r/databricks • • 14h ago

Discussion Which data quality tool for Databricks do you use?

Post image
30 Upvotes

I curate a list of data quality tools that integrate with Databricks SQL, Spark, Unity Catalog, and Lakeflow Jobs, with facts sourced from the tool docs: https://toolsfordata.com/lists/data-quality-tools/databricks/
Curious to hear what others here use.


r/databricks • • 9h ago

News Databricks Lakebase Data API: PostgreSQL REST API Access

Post image
9 Upvotes

I tested the REST Data API for Lakebase and can say it is fast and cheap. Thanks to Native PostgreSQL functionality, we can use it with CDF as well. DABs now support the Data API, so enablement in prod is really easy.

https://www.sunnydata.ai/blog/lakebase-data-api-postgresql-rest-api

https://databrickster.medium.com/databricks-lakebase-data-api-postgresql-rest-api-access-bba415c5a50f


r/databricks • • 10h ago

General When does it make sense to use serverless for Jobs and Lakeflow pipelines?

Post image
9 Upvotes

Hii beautiful people, I am working in a new project situation and we have mainly source systems that do not need Streaming (Full Snapshots) that trigger our Databricks Jobs through Logic Apps.
I got a question from my manager wether to run our Jobs and Lakeflow pipelines on serverless or class job clusters?
What drives the decision? and how do you measure the comparison fairly?
Team of 5. + Frontend(PowerBI) but we are considering testing metric views/AI/BI Dashboards in the near future.
Thanks in advance


r/databricks • • 2h ago

General Use spark.databricks.delta.autoCompact.enabled to prevent small file problems

1 Upvotes

I work at Abilytics, a data and AI consultancy, so take this with that in mind.

If your Delta Lake tables are filling up with thousands of tiny data parts due to frequent streaming micro-batches or small concurrent writes, you can fix this at the table or session level without running manual OPTIMIZE commands constantly. Enable automatic compaction by setting spark.databricks.delta.autoCompact.enabled to true. When enabled, Delta Lake checks if the most recent write added many small files and automatically triggers a lightweight compaction operation on those files right after a write succeeds on the same query. It inspects partitions that received writes and compacts files of around 16MB up to a target size of 128MB. While this adds a small amount of latency to your write operations, it dramatically cuts down the total file count, avoids metadata bloat in the transaction log, and keeps your downstream read queries performing efficiently without requiring dedicated maintenance jobs.


r/databricks • • 11h ago

Discussion Recommended workflow for (unit) testing that require larger datasets?

2 Upvotes

I have a case for some unit testing of a rather complex parametrized algorithm that require "larger" datasets (large = single dataset of around 100 MB) that are not supposed to be part of the repo.
So I mainly wonder about the best practices here. As the code itself is inside github, I wonder if it make sense to have the tests be stored inside databricks and then a github action triggering a testing job inside databricks? Or should the data be rather fetched from databricks?


r/databricks • • 11h ago

Help How do you read Pipeline Parameters in Python

1 Upvotes

Pipeline Parameters are now GA since a few weeks and should replace pipeline configurations for run-specific parameters.

In python, you can read paramters using spark.config.get("key")

However, the official docu doesn't say how to get paramters in python.

With jobs it is dbutils.widgets.get("env") within pipelines this doesn't work. Any idea?

For me it interesting that jobs and pipelines don't share the same interface...


r/databricks • • 1d ago

News VARIANT transformations

Post image
17 Upvotes

Now you can modify VARIANT in place thanks to variant_set() SQL function. We also got a few other new functions: variant_insert, variant_delete, variant_array_append, and variant_strip_nulls.

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


r/databricks • • 2d 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)

36 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

Discussion Coordinated commits (lakebase/UC-MST) for cost and perf

2 Upvotes

Was thinking about LTAP synchronous commits to open-table formats. I have to think that using this engine (lakebase managed postgres) to manipulate blob storage is always going to have overhead, both in terms of financial cost and performance penalty. Obviously most of that cost is warranted but perhaps only 80 pct of it...

Is there any plan to coordinate UC-managed-table commits with lakebase OLTP commits? IMO a remote client application, probably a spark driver, should be able to use Serializable transactions that span the two resource-managers (MST-serializable transactions are supported in UC -managed-tables and in OLTP too). A developer should be able to commit data in an atomic operation, and see all the blobs being updated at once, across both engines.

(Taking things one step further, we should be able to coordinate a remote opensource-apache-spark deltalake operation with a lakebase transaction. That would be even more cost-efficient from a financial perspective. No point sending a million rows over the wire to lakebase, if they can be dropped directly to blob storage.)

This coordination seems like the obvious next step for LTAP architecture. Although I find that obvious next-steps can get put on the back-burner for a very long time - when they have the potential to reduce platform revenues.


r/databricks • • 1d ago

Discussion Databricks MVP vs Snowflake Data Superhero

Post image
0 Upvotes

I often find myself having to explain what a "Databricks MVP (Most Valuable Professional)" is—even to Databricks employees themselves. Now, imagine having to introduce yourself as a "Snowflake Data Superhero."

Having attended several technical conferences (such as DAIS and the Data AI World Tour), I’ve noticed an interesting detail: many clients—and even Databricks staff—know nothing about the MVP program. I honestly feel for the participants of the equivalent program at Snowflake—those "Data Superheroes."

Just picture it: you’re at a serious professional conference and you say, "Hi, I’m a CTO and a 'Snowflake Data Superhero.'" That’s a title that would be more at home at an event like Comic-Con.

In reality, both programs are designed to recognize individuals who contribute to the community—sharing their knowledge, building tools, and helping others grow professionally.

Fun fact: the Databricks MVP program used to be called "Beacons." Personally, I wouldn’t want to be a "beacon" or a "superhero."


r/databricks • • 2d ago

Help Automating CSV ingestion from Outlook emails into Databricks

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

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

4 Upvotes

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

News UC Wiki

Post image
35 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 • • 3d 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 • • 3d 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 • • 4d 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 • • 4d 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 • • 4d 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).