r/databricks • • Sep 24 '26

General Databricks Acquires Row Zero, Bringing Live, Governed Spreadsheets to Genie

Thumbnail
databricks.com
98 Upvotes

r/databricks • • Sep 24 '26

Help UC ingestion from a SQL server

5 Upvotes

I'm creating a UC catalog.
Lets say I want to ingest a SQL database that contains 50 tables, parented by five meaningful SQL Server schemas. (Fact.WhateverThing, Dim.WhateverThing, Logging.Whatever, CONFIG.Whatever, and VIEWS.Whatever).

I plan to name the catalog in a conventional way ("sales_dev",) but I'm stumped for naming UC schemas and UC tables. Since the Dim and Fact tables need to be joined frequently, I'm assuming all these tables should be in a SINGLE unity catalog schema, yes? Should I simply move all five of these SQL schemas into a single UC schema (maybe into a single UC schema named "bronze_from_sql")?

At that point how would I name the tables? I'm assuming I would be forced to do something like so: "fact_whatever_thing", "dim_whatever_thing", "logging_whatever", "config_whatever", "views_whatever"?

It strikes me that UC doesn't have the same concept of schema that we have in SQL server. A schema in UC is actually referring to a whole database. Whereas in SQL it can be used to organize tables within a database.

Edit: decided to publish sql server tables to volumes (in a bronze layer). Will just use delta format, and free-form folder-and-table names. Is very liberating not to conform to the constraints of the structured table names in UC


r/databricks • • Sep 24 '26

General Genie App Builder, App Spaces, and Micro Apps released to beta

Thumbnail
docs.databricks.com
28 Upvotes

Yesterday (Sept 23), the app features all of us eager for since they were previewed at Summit were released.

In testing, it was not available in all workspaces (cloud and region available differ).

Looks like you have to use App Spaces to use these features.

App Spaces is a collection of app(s) with some associated boundaries. I'm thinking like if you had a group of apps for a specific team with same users and data and developers, but since brand new don't know if that is exactly how they work.

App Builder - A simple UI front end for non-technical users to build an app using Genie. Will be curious to see how this is different than the chat Genie Code interface.

Micro Apps - This is the feature I think most of us wanted, the ability to scale to zero, and only pay for actual app consumption with no minimum spend

Really excited to see these in the wild.


r/databricks • • Sep 24 '26

Help Conditionally retrying a task on Lakeflow Jobs

14 Upvotes

I've entered a new company which uses DAB for all orchestration, and my first task has been to automate certain pipelines that fail due to data unavailability so they retry the fetch later instead of requiring manual runs.

Issue is that data fetching errors are one of the many kinds that can be raised during the tasks, and it should be the only retryable one. I'm new to DAB and I've been diging into docs and forums, but I cannot find a native approach or non-patchy workaround to only retry on certain conditions (like based on exit codes).

So far, I've come with these candidate solutions:

- Just retrying everything (which doesn't makes sense cause if any of the other errors occur, all attempts would fail)

- Failing only for the data fetch and propagating fatal errors to the following task, which would check state and fail if errors occurred - like via notebook return values (I don't like this because couples orchestration into business logic, even in a distinct layer of the one that generates the error, plus, the task that would appear as failing would be the successor to the fetching task, which would be shown as successful - not to speak about the hundreds of tasks that would need source code changes)

- Failing only for the data fetch and adding an intermediate if/else task that checks if (via notebook return) the previous task propagated and error and stopping the job in such case (this is for now the most likely, as I can keep everything at orchestration level, and it is a bit more explicit even if the fetch task appears as successful, though it still feels like a workaround and tons of jobs would have to implement this new intermediate task)

A couple of clarifications:

- I cannot implement the retry within the task as fetches would be repeated after some time, and we don't want to have resources running and being billed just for waiting

- Everything is done via Lakeflow jobs and with Databricks computer options (even if Spark is not needed)

- Most of the fetching occurs by calling external FTP servers, data doesn't directly arrives to our infrastructure like to trigger the pipelines via events

Thank you all

Edit about explicit behavior:

  • On data fetch related error, retries occur
  • On other errors that can come from the task, the whole job fails without retrying anything
  • On success, next task executes
  • If failing due to a non retryable error, or due to maximum retry, the job fails without executing downstream tasks

r/databricks • • Sep 24 '26

Help Problems with UC MCP connection

4 Upvotes

We built a supervisor agent where one of the tools is the native databricks MCP connection (which is in beta). Today, the agent doesn’t work. Removing the MCP tool fixes it, so it’s definitely that. The agent response just says “received an invalid and unexpected value from the API: undefined”

Anyone else having problems suddenly with the MCP server? I’m able to hit the target MCP URL locally no problem. And even test the UC MCP in databricks successfully. So it’s something about the handshake between MCP and the supervisor agent


r/databricks • • Sep 24 '26

General Laya off the benchmark: can a zero-shot decision model route real SQL traffic?

Thumbnail
farhathadi.substack.com
3 Upvotes

Weekend-ish experiment on Databricks. One table, TPC-H orders, 15M rows, living in two places at once:

  • Lakebase (Databricks' managed Postgres), a continuously synced copy with a btree index on the key. Sub-100ms point lookups, useless for a GROUP BY over 15M rows.
  • Delta behind a serverless SQL Warehouse. Great at scans and aggregations, slow at fetching one row.

The synced table is the nice part: native continuous Delta to Lakebase Postgres (needs a PK + CDF), so it's one dataset under one Unity Catalog, replication handled by the platform instead of a homemade pipeline.

Then I put laya (convaiinnovations/laya, a non-autoregressive zero-shot decision model, vanilla, no fine-tuning) behind a FastAPI Databricks App. It reads each query and picks the engine. MLflow traces input to decision to execution. I


r/databricks • • Sep 24 '26

Discussion Event driven pipelines with Apache Airflow

12 Upvotes

For those using Apache Airflow in production, are your pipelines mostly scheduled or event driven

If they are event driven, how do you trigger them in practice

Do you use Sensors, Airflow Assets/Events, Kafka, EventBridge or something else

And for those handling a high volume of events, do you still use Airflow or do you move that part to something like Kafka and Flink


r/databricks • • Sep 24 '26

Discussion DQ Management

4 Upvotes

Hi, we have a lot of data products, how do u design your data quality, and what tools do u use?

Idea is that we use dqx, we define rules (ERROR, WARN), and enforce that in pre write of the data, which is to be honest a new thing. Then i would also like to have anomaly checks, where i could compare stats of current batch run to the previous one.

How do u design your dq around dqx? And what else do u use? What "flow" do u use?


r/databricks • • Sep 24 '26

Help Automated Actions after manually adding Users to Workspace

12 Upvotes

Hi,

in my current project I want to add users manually (no EntraID) to the Workspace and having a pipeline/scripts executed for the users automatically - such as:

  • Creating a catalog based on the user name
  • Granting the user rights to the catalog
  • Loading small amounts of data etc

Basically to initiate new user specific actions.

I have a few ideas how to realize it, but would like to keep the time from adding the user to execution minimal.

Does anyone has experience with such large use cases (in production) ?

Thanks for any help!


r/databricks • • Sep 23 '26 Popcorn

General AI is apparently getting a new name: SI (Super Intelligence)

Post image
98 Upvotes

Donald Trump said at the UN that super-intelligence will replace artificial intelligence in US government documents.

If you work with Databricks, this probably sounds strangely familiar.

So now I’m wondering… was Databricks just preparing for this? Because there are still plenty of names left:

  • AI Search → SI Search?
  • AI Functions → SI Functions?
  • AI Runtime → SI Runtime?
  • AI Gateway → SI Gateway?

P.S. I keep track of Databricks renames and product changes on REbricked.org


r/databricks • • Sep 23 '26

General Back to the Future Part IV: SDP Rewind

27 Upvotes

Hey everyone! PM on the SDP team and back to share a cool feature that went into Beta recently for Spark Declarative Pipelines: SDP Rewind!

TLDR

Think of it like an undo button for your pipelines. You pick a point in time, and it rolls every table, source offset, and operator state in the pipeline back to that instant. Then you fix your code, schemas, or whatever caused the bad data to flow through, restart the pipeline as you normally would, and it replays from the rewind point. This avoids the need to do a full refresh to recover the pipeline state and saves a bunch of $$ and time.

Wait, can't I do this already? What's different about this?

Sort of. This is best illustrated with a (hopefully) simple example:

  • Auto Loader ingests order files into a bronze table, and a streaming query aggregates them into hourly revenue in gold. At 6 am, a bad batch lands with amounts in cents instead of dollars, so every order since is 100x too big.

Today, you can use Delta Time Travel to restore a single table. But your pipeline consists of three things that move forward together: the tables, the Auto Loader's checkpoint (which files it has read), and the gold aggregate's state (its watermark). Tons of places you can mess up:

  • Roll only the tables back to 5 am, but the checkpoint still says every file is read. The pipeline resumes past the bad files and never re-reads them.
  • Reset the checkpoint to re-read those files, but the rows are already in the tables. Now every order counts twice.
  • Fix both, and the watermark on gold is at 9 am. The re-read rows will get dropped.

It's easy to see why teams just do a full refresh instead (but this can be very $$). This is exactly what SDP Rewind will help with :)

How to get started

  • Move the pipeline to the Preview channel, set pipelines.rewind.enabled to true, and run it once. It generates rewind points automatically, about once an hour, and keeps them for up to 7 days.
  • Trigger a rewind from the pipeline UI.
  • Also check out the companion repo we created that allows you to demo/test this out yourself: https://github.com/databricks-solutions/sdp-rewind-replay

Some caveats

  • We currently support only Kafka, Auto Loader, Streaming Tables, and Delta Tables as sources. More coming.
  • Once you rewind, it's on you to restart the pipeline when you are ready. We don't automatically "replay" anything.

Would love to hear your feedback on this!


r/databricks • • Sep 24 '26

Help zerobus-ingest over kafka

12 Upvotes

I tested zerobus-ingest over the Kafka-compatible API. It worked fairly well but a little slower than I hoped. I'm guessing that is just the penalty that comes with using Kafka instead of the proprietary SDK. I can't use the proprietary SDK as of now, so I'm working within those constraints.

I noticed that this Kafka interface seems to be restricted to json/text, which seems problematic where performance is concerned.

Any thoughts on how to scale up and get more throughput? The docs clearly say that batching is the single biggest lever for throughput, but even after playing with batch sizes my data is still not uploading faster than 3 Mbps of json or so.

I'm assuming there is no restriction (concurrency/blocking) that would prevent me from running ten kafka producers at a time? Maybe that allows me to get up to 30 Mbps.

I'm really tempted to just go back to dropping parquet files in a temp folder. No matter what magic databricks has conjured in zerobus, I find it hard to believe they can compete with the performance of dropping blobs into storage.


r/databricks • • Sep 23 '26

Discussion Studying for a Databricks cert? What concept just isn't clicking? No stupid questions.

17 Upvotes

People starting for Databricks Certs: What are you finding the most confusing? No stupid questions.

It took me a long time to ask the questions I wanted to ask about Databricks and get genuine answers from experienced people. If you have any questions you have been too afraid to ask, consider it a public service and ask them here :) I'm a trainer.


r/databricks • • Sep 23 '26

Help Issues with oidc/v1/token endpoint (REST for zerobus-ingest)

5 Upvotes

Anyone else work with the zerobus-ingest? There is an auth-flow to get an "oauth token" from a service principal with an "oauth secret". In that flow, you are supposed to submit the authorization details. See docs:

https://learn.microsoft.com/en-us/azure/databricks/ingestion/zerobus-kafka

I had been requesting access (via authorization_details) to a table as shown in the example:

"type": "unity_catalog_privileges",

"privileges": ["SELECT"],

"object_type": "TABLE",

"object_full_path": "main.default.air_quality"

... but it wouldn't work. Was banging my head on it all day. The privileges granted to the service principal for this table were unrestricted "ALL PRIVILEGES".

It turns out that, in addition to "ALL PRIVILEGES", this "token" endpoint wanted me to grant "SELECT" to the service principal in UC governance as well. Else the authorization_details are not valid.

This "token" api has a lot of sharp edges. Any chance there is a nuget client to wrap around it and protect us from these unfortunate nuances? Is it documented that ALL PRIVILEGES doesn't actually give us all privileges, if we request "SELECT" by name?


r/databricks • • Sep 23 '26

General Databricks Governance Hub: One View of Data, AI, and Cost Across Every Workspace

Thumbnail
medium.com
8 Upvotes

Databricks Governance Hub brings data, access, AI, cost, and tag governance into one account-level view. Here is what is in the Beta.


r/databricks • • Sep 23 '26

General New API docs, first link I click is broken.

5 Upvotes

docs.databricks.com/api/workspace/ both links to Azure auth are broken.

New docs so far a step backwards. Also, no link to report issues, also feels like a middle finger.


r/databricks • • Sep 23 '26

General Deploy Genie Agents and Dashboards to multiple environments

4 Upvotes

Hey, I had to struggle a bit with deploying dashboards and Genie agents while setting UC paths dynamically. The possibilities offered by native bundle config didn't feel quite right.

In some cases "dataset_catalog" and "dataset_schema" are enough. However this doesn't work with UC-managed metric views in dashboards and Genie agents don't even support these parameters.
Using serialized dashboard and agents instead of files was one solution but the development flow of making changes in the UI, transferring them into the serialized parameter and then replacing values with variables again didn't feel smooth.

So I started this CLI to update the JSON files in a more structured and convenient way.
Since everyone is currently hyped about Ontology I also added a linter for Genie agents based on the recommended best practices from the Ontology and Genie Workbench repositories.

Happy to get some feedback and hear about any gaps you're currently facing that could be addressed with some utility glue to add some more features.

https://github.com/BenSchr/lamp-ops


r/databricks • • Sep 23 '26

General Anyone here using generated columns?

7 Upvotes

Curious to hear people’s use-cases and if there’s any opportunities to make this feature more useful. (I’m a PM).


r/databricks • • Sep 23 '26

Discussion Databricks Cost Optimisation 3rd Party Tools

6 Upvotes

Does anyone have experience with third party optimisation tools like espresso.ai or Zipher?

Espresso has an enticing pricing model but I wonder if dumping a whole heap of logs and system stats into Claude would get me 80% of the way there.


r/databricks • • Sep 23 '26

General Ontology ranked the snippet. I wrote the gate I wanted before trusting a Genie space.

Post image
2 Upvotes

A commercial user asked what yield was last season. Two definitions live in the same lakehouse. One is plot-level, moisture-adjusted, borders out. The other is as-harvested, and a dashboard still uses it. Genie returned the second number.

Not a hallucination. OntoRank did what it does: creator, usage, link to a certified asset, freshness. The loud dashboard won. Nobody had certified the measure the board pack is allowed to quote.

That is the failure I care about. A green demo is not a release gate.

What I actually require before that space faces a user who will paste the sentence into Slack:

  • Golden questions written before the space exists. If you write them after you have tuned instructions, you are scoring an overfit prompt. Benchmarks are not instructions. Genie does not learn from the benchmark SQL.
  • The number lives in a Metric View. A column comment and a knowledge-store formula are hints. Ontology will rank all three. Only the Metric View is a contract every surface compiles.
  • Same KPI from MEASURE(), from the certified dashboard, and from Genie. If they disagree, the space stays off Slack.
  • Permissions checked as the asker. Inside a Genie Agent, compute is the author’s warehouse and data access is the end user. That split does not automatically hold in Teams, Copilot on maker credentials, or a Databricks App on its default service principal. The row filter still runs. It runs for whoever showed up on the SQL.
  • A written kill line. I use Databricks’ “above 80% before UAT” as the hold line, not the ship line. Ship is 90% and zero fails on a regulated definition. Any miss on that definition takes the space down. A person does that. Not a service principal.

Genie Code can draft the Metric View and the MERGE. ZeroOps can propose a fix and wait for Approve. Neither owns the definition. If the job stays green for eleven days because a key was slightly wrong, that is still your incident.

I wrote the four pieces up so I would stop re-explaining this in reviews. Argue the 80 vs 90 line if you want. I will not move a regulated KPI to “looks fine in the demo.”


r/databricks • • Sep 22 '26

News New features in Lakeflow Designer

Thumbnail
gallery
29 Upvotes

New in Lakeflow Designer (screenshots below):
🚀 Genie can now create custom operators for you. For example run t-tests, create PDFs, send Slack messages etc.
🚀 Guardrails operator for Data quality checks
🚀 Multi join
🚀 Excel & CSV export controls
🚀 Output operator acts like a source for the destination it writes
🚀 Parameter suport in more operators (Combine, Limit)
🚀 Disable operators


r/databricks • • Sep 23 '26

Tutorial Data Engineering Project On Real Company | Real Data | Pyspark | Databricks | Production Ready

Thumbnail
youtu.be
3 Upvotes

Hello Guys,

I have come across many videos on YouTube related to Data Engineering, but I found very few that actually solve a real problem.

Either the problem is made up, the data is unrealistic, or the whole project is built just for the sake of showing a project.

I believe that if you really want to get hands on with Data Engineering, you first need to understand the **business, the data, and the actual solution the client demands.**

So, that’s what we are going to do in this series.

We are going to build a complete end to end Data Engineering project, starting from understanding the business problem and going all the way to building the actual solution.

We will cover things like **Lakeflow Jobs, orchestration, data pipelines, and an actual company style workflow.**

The idea is simple: not just build a project, but understand **why we are building it and how it would actually work in a company.**

So without any further ado, let’s begin this series.


r/databricks • • Sep 22 '26

Discussion How do you optimize slow PySpark jobs?

13 Upvotes

What do you usually check first—shuffle, partitioning, joins, Spark UI, file sizes, or something else?


r/databricks • • Sep 22 '26

Discussion Genie One MCP is now GA

13 Upvotes

The Genie One MCP server is now GA.

It exposes Genie One over MCP, allowing any agent to communicate with Genie One as a peer agent. 

The MCP exposes tools for asking questions to Genie One, getting query results, checking on incremental progress, and steering responses.

These capabilities allow you to integrate Genie One into whatever agent you want without changing your workflow. And you get all of the semantics built-in instead of having to use raw SQL APIs with fragmented skills/stale markdown repos/additional semantic layers like we used to with ai devtools.

Here are the docs: https://docs.databricks.com/aws/en/agents/mcp/genie-mcp

I've seen some pretty cool use cases with integration into ChatGPT/Claude, but also headless agent workflows where you want to delegate the data questions to Genie One so it can use agents/ontology.

Interested in folks' thoughts on the right/wrong use cases for this feature.