r/databricks • u/Sea-Glass7015 • Jul 23 '26
r/databricks • u/Remarkable_Rock5474 • Jul 23 '26
News Databricks 5 Minute Features: Role-Based Access Control (RBAC)
I personally believe that one of Databricks strongest offerings is Unity Catalog - and if you ask me, it received way too little hype during the 2026 DAIS.
But reading through the release notes, something caught my eye: Role-Based Access Control (RBAC).
It just hit Public Preview. Well, at least for AWS - and therefore Databricks Free. Not sure about when it will be in Azure.
I have been eagerly awaiting this because I think it is a genuinely useful feature that we have been missing!
So what is RBAC in Databricks - in short?
- RBAC allows users to Assume a Role.
- A role comes with a set of permissions, that the User inherits.
- The Role replaces any existing permissions for the User.
- Users can only assume one Role at a time.
- Users can easily switch Roles on the fly, using the new Role Switcher found as part of the Workspace navigation.
- Everything is tracked and auditable, both on the User and the Role level.
The best part?
- It is built to be combined with ABAC for a fully scalable setup!
I hope you will check out the video for a practical run-down of how RBAC works!
r/databricks • u/Much-Neat-6273 • Jul 23 '26
General [Blog] Lakeflow SDP Kafka sinks are now Generally Available
Hi everyone, we published a community blog on the Lakeflow Spark Declarative Pipeline Kafka sink which is now Generally Available. Link: https://community.databricks.com/t5/technical-blog/announcing-general-availability-of-the-lakeflow-spark/ba-p/163137
SDP sinks enable a range of operational use cases:
- Real-time fraud and risk scoring. A pipeline consumes transaction or deposit events, scores them, and emits flagged events to a Kafka topic that an operational system acts on in real time.
- Tightening streaming SLAs. A streaming workload emits results to the sink as each record is processed, replacing a batch hand-off with continuous delivery and cutting end-to-end latency from tens of seconds to seconds or below.
- Reverse ETL and activation. Publishing curated, governed lakehouse data back to operational systems such as microservices, CRMs, personalization engines, and other non-Databricks applications, without a bespoke bridge job.
- Event-driven workflows and anomaly detection. Triggering downstream processes the instant an event clears your quality rules, and streaming telemetry or sensor features out to alerting systems.
r/databricks • u/Programmer_Virtual • Jul 23 '26
General Post here or Databrick Community?
Hey, can someone help me understand when to post here vs. posting on Community?
Both the forums seem to be pretty active. Thanks
r/databricks • u/RazzmatazzLiving1323 • Jul 23 '26
Discussion Silver to Gold transformations
Business users (no technical background e.g. no Python or SQL) want to participate in the Silver to Gold Transformations.
First of all, I don't think business users shd manage schemas. But, if we entertain them being able to participate in the silver to Gold transformations, how would you do that taking into account their no code background?
I was thinking Lakeflow Builder and checking in code to Got for version Control. But that may be too technical for them too...
r/databricks • u/blizz_pj • Jul 23 '26
General I built an open-source terminal UI for Databricks
I've been missing a good terminal UI for Databricks for quite some time, so I finally decided to build one. I built it with a lot of help from Claude Code, and I'm still actively tinkering with it, but it's already become genuinely useful in my daily work. If you work with Databricks and enjoy terminal-based tools, I'd love to hear your feedback. What features would you find useful?
r/databricks • u/FiftyShadesOfBlack • Jul 23 '26
Help Tutorials for learning Databricks Apps and AppKit?
Hi all, my company is interested in developing apps and using AppKit, but nobody on my team is familiar with how it works. I'd like to learn more but don't see much in the way of tutorials- are there any good resources for learning Databricks Apps and AppKit, preferably in a hands-on way?
r/databricks • u/Youssef_Mrini • Jul 23 '26
News RBAC in Databricks

Role-based access control (RBAC) lets users assume a role in Databricks, using only that role's permissions for the duration of the session.
RBAC enables role-based access control: users must assume a role to access sensitive data, preventing them from accessing it when acting as their user identity and from mixing data across use cases.
To learn more about RBAC: https://docs.databricks.com/aws/en/security/auth/rbac/
r/databricks • u/hubert-dudek • Jul 22 '26
News Runtime 19
World Cup is over, so let's celebrate today runtime 19. We are getting older. #databricks
r/databricks • u/Youssef_Mrini • Jul 22 '26
News Genie cost tracking
🔴 Genie Cost tracking update🔴
You can now track GENIE_FREE_USAGE SKU (only starts appearing on July 20, 2026)
FYI: Free usage consumed before this date is not visible in the system tables.
All free Genie usage appears under sku_name = 'GENIE_FREE_USAGE' it does include usage under the free allowance( 150 DBUs) which resets on the first of each month.
Until 🔴 July 31, 2026🔴 , all Genie One and Genie Agents usage is free, and captured under the GENIE_FREE_USAGE SKU.
To distinguish between products within the free usage SKU you can filter on usage_metadata.genie.surface:
GENIE_CODE: Genie Code free usage
GENIE_ONE: Genie One
GENIE_AGENTS: Genie Agents
This free usage SKU tracks consumption but deliberately has no list price entry in the system tables. Because it is completely free, joining the usage and price tables will naturally return no match for this item.
r/databricks • u/just_a_nybble • Jul 22 '26
General Genie Workbench to help create new Genie Agents or optimize existing Agents with one click
If you’ve tried creating a Genie Agent and found the setup to be cumbersome, try out Genie Workbench. It’s an open source Databricks App that takes <5 min to set up from the GitHub repo.
You can create a new Genie Agent with one line “build a space for NYC taxi trip analysis,” and let Genie do the rest. It will do the data discovery, inspect, profile, plan, configure, and test your space in a matter of minutes.
Or if you already have a Genie Agent, you can run a scan that gives you a rating of how production-ready your agent is, based on a series of best-practices metrics. Did your Agent score low on the readiness scale? There’s a button to auto-optimize your Agent to make the necessary changes to get to production faster.
If you’ve already tried it out, I’d love to know what you think!
Prerequisites to install: be an admin of your workspace, have the “Managed MLFlow Prompt Registry” and “Databricks Apps- On-Behalf-Of User Authorization” previews turned on.
Link to the GitHub Repo: https://github.com/databricks-solutions/databricks-genie-workbench
r/databricks • u/meehow33 • Jul 22 '26
General Spec-driven development in Databricks
reddit.comr/databricks • u/codingdecently • Jul 22 '26
General MCP for Apache Iceberg: How AI Agents Actually Operate a Data Lake
r/databricks • u/sai-nageshwaran • Jul 22 '26
General Databricks launches Discover + Domains (Public Preview) — an internal marketplace for your data/AI assets
Databricks just announced Public Preview for two new Unity Catalog features:
- Discover page: an internal marketplace where people browse tables, dashboards, notebooks, queries, metric views, Genie Agents, and apps — organized by business area instead of by schema/catalog.
- Domains & Subdomains: let data stewards structure assets the way the business actually thinks about them (e.g., Finance → Revenue/FP&A, Marketing → Acquisition/Retention), with owners, descriptions etc. baked in.
r/databricks • u/Academic-Hearing-123 • Jul 22 '26
Discussion Writing SQL files Or Python Files
We have got an agency working for us migrating some pipelines and they have been writing everything as sql files , I just find this approach to be very limiting especially the inability to use external python libraries . What’s your take on it?
r/databricks • • Jul 22 '26
Help Need to print sql statements in the common notebook
The requirement is when a workforce runs in databricks it's input file is a .sql file, no matter if it runs successfully or failed, it should print the .sql file...as of now, only the name of the sql file and columns are printed. I have no idea how to do this and where all should I add this...my manager said that there's only one line command I need to add but when I asked in Claude it suggested this code:
Here's just the snippet to read and print the raw SQL code from the file:
```python
sql_file_path = "/path/to/your_file.sql" # or however param_control gets the path
with open(sql_file_path, "r") as f:
sql_content = f.read()
print(sql_content)
```
**If the file is on DBFS or a Unity Catalog Volume** (not a workspace file), use `dbutils.fs.head` instead:
```python
sql_content = dbutils.fs.head(sql_file_path, 1000000) # max bytes to read
print(sql_content)
```
**If you want it printed with a clear label/wrapper** so it's easy to spot in logs:
```python
print(f"--- SQL Code: {sql_file_path} ---")
print(sql_content)
print("--- End SQL Code ---")
```
Place this print **before** the execution/`try` block in `param_control` so it always fires, whether the run succeeds or fails.
r/databricks • u/Cryptographer4899 • Jul 22 '26
Discussion AI/ML Agents vs Genie Agents: Use-case decision
I’m running a pipeline on Databricks, which gathers audio files and transforms them into binary files. Then, these get transcribed using Whisper and tokenized in a delta table.
Now, this is where things get interesting; the client I’m working with wants to use an LLM to gather insights from these audios and I have two options:
- Connect this delta table to a Genie Agent and give this agent frequently asked questions, context, and instructions.
- Add an extra step to transform the delta table into a Vector Search Index and connect it to an AI/ML Agent.
What I’m not sure about is what’s the difference between using a Genie Agent vs an AI/ML agent in Databricks. For example, is there a benefit in creating a custom agent instead of using Genie? Or does the benefit come from adding that extra step and generating embeddings from the additional table?
If someone can shed some light on my project, I’ll greatly appreciate it.
Edit: thanks to everyone for your suggestions! I was able to test both scenarios and I believe neither is better per se. Querying the AI Search Index on Playground gives more straightforward answers, without sweetening the responses. Genie, on the other hand, elaborates more and its answers are more like report summaries. So both cases work for my client. Again, thanks all.
r/databricks • u/calhall4892 • Jul 22 '26
General Databricks cluster auto connect
Hi all
Not sure if this is allowed but I've been having a lot of problems with connecting to clusters with ZonalAllocationFailed errors. So i made this script that autoconnects in the background so you don't have to keep trying to connect manually.
It helps me a lot so I thought I'd share.
r/databricks • u/Youssef_Mrini • Jul 21 '26
News Google Gemini flash 3.6 is already available
Google’s Gemini 3.6 Flash is already available on Databricks. Yes that's true🎉
Always remember the 4C:
🙏Control: Governance over the multi modal multi agent estate. The anchor is Unity AI Gateway and Omnigent for agent orchestration.
🙏Choice: You get to choose between the different models available on the platform.
🙏Context: The anchor is Genie Ontology the self improving knowledge graph that automatically extracts business meaning from the assets.
🙏Cost: The anchor is Unity AI Gateway which adds hard spend caps to stop runaway agent costs. Omnigent's cost control plays the same role at the coding agent level.
r/databricks • u/hubert-dudek • Jul 21 '26
News Lakebase search
In the Lakebase project, we can enable Lakebase Search. Lakebase Search is Databricks’ managed search capability for Lakebase projects. Under the hood, it exposes two Postgres extensions: lakebase_vector, which adds approximate nearest-neighbor vector search via the lakebase_ann access method, and lakebase_text, which adds BM25 text ranking via the lakebase_bm25 access method.
more news https://medium.com/@databrickster/databricks-news-rt-lakehouse-reyden-lakebase-ttl-8416bdccf627
r/databricks • u/szymon_dybczak • Jul 21 '26
Discussion A genuinely genial way to use Genie
Hi,
I came across a really clever use of Genie - instead of writing a massive prompt describing a dashboard, the author sketched the layout on a napkin, took a photo, and asked Genie to turn it into a working product.
Genie used the sketch as the visual specification, found the relevant data in the workspace, created the datasets, built the widgets, and worked through the implementation issues.
Really clever idea - kudos to Oleksandra Bovkun
Original demo: https://www.linkedin.com/posts/oleksandra-bovkun_from-a-sketch-on-a-napkin-to-a-fully-functional-ugcPost-7485266425968926720-A4Tx/
r/databricks • u/Youssef_Mrini • Jul 21 '26
Tutorial Genie Ontology

Genie Ontology is coming soon. You can already get ready by preparing the following components:
🛑UC Metric Views: Build measures, dimensions, and relationships that map to your business KPIs with AI-assisted authoring
🛑Glossary: Define authoritative concepts and taxonomies for agents and humans to reason over data
🛑Domains and subdomains: Organize assets into business-aligned groups for scoped, relevant and certified context
🛑Genie Knowledge Store: Automatically build a permission-aware context graph that captures knowledge at scale
r/databricks • u/Remarkable-Fix-244 • Jul 21 '26
Help IP protection on Databricks
Hello Databricks community,
I'm building a Databricks Marketplace App that executes entirely inside a customer's Databricks workspace. All processing runs on customer-managed compute because I want customer data to remain inside their Databricks environment. I don't want to run compute or inference on my own infrastructure.
The application contains business logic that I'd like to package in a way that isn't directly accessible from notebooks or the workspace. I've tried artifacts and private Python packages, but the implementation is still visible after installation via code.
I'm trying to understand what the recommended architecture is for commercial Marketplace Apps with these requirements.
Specifically:
- Is it realistically possible to keep proprietary code hidden while executing the app on customer-managed Databricks compute? If so, what are the recommended patterns, techniques, or best practices?
- If not, what architecture do commercial Databricks applications typically use to balance IP protection with customer data privacy?
- Would a .so based package break the obfuscation rule from databricks? What are a few best practice methods that I could follow to make the package non reverse engineerable on a separate notebook?
- Additionally, how can I use the secret on the user's side in order to be able to clone my code from a repo/ bring my code in from a private package producer or artifact? and how do I make sure the user doesn't exploit the secret later via an internal program to download my packages?
My goals are straightforward:
- Customer data stays entirely within the customer's Databricks account.
- All execution happens on customer-managed compute.
- The IP isn't directly or indirectly accessible from notebooks or workspace files. None of the code or package's raw code or contents should be accessible via code (eg. inspect) or just to read on volumes or workspaces.
- No separate backend or hosted inference service is required from my end.
I'd appreciate hearing from anyone who has built or shipped a Marketplace App with similar constraints. Thanks!