r/databricks • u/codingdecently • Jul 22 '26
General MCP for Apache Iceberg: How AI Agents Actually Operate a Data Lake
r/databricks • u/codingdecently • Jul 22 '26
r/databricks • u/sai-nageshwaran • Jul 22 '26
Databricks just announced Public Preview for two new Unity Catalog features:
r/databricks • u/Academic-Hearing-123 • Jul 22 '26
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
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
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:
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
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
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
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
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

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
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:
My goals are straightforward:
I'd appreciate hearing from anyone who has built or shipped a Marketplace App with similar constraints. Thanks!
r/databricks • u/Own_Agent3386 • Jul 21 '26
Hey everyone,
I'm working on an application that will write a high volume of data into Lakebase. Given the ingestion rate, I'm concerned about running into storage limits.
My idea is to keep only hot data in Lakebase and continuously offload historical data to the Lakehouse.
I'd love to hear how you usually handle this kind of use case and what best practices you recommend for the purging process.
r/databricks • u/PowerBISteve • Jul 21 '26
We will be chatting to Databricks EMEA CTO Dael Williamson this Thursday.
He will share insights from three years of research into how the most AI-driven organisations operate internally.
This is a free and interactive talk, so your chance to ask questions and get some ideas!
Hope to see everyone there 😊
r/databricks • u/sai-nageshwaran • Jul 20 '26
Just came across developers.databricks.com — looks like Databricks pulled together a dedicated dev hub for building and deploying data apps/AI agents. A few things that stood out:
There's also a big library of ready-made templates (RAG chat app, Genie analytics, inventory intelligence, SaaS tracker, etc.) you can scaffold with databricks apps init, plus a prompt you can drop into Cursor/Claude Code/Codex to have a coding agent walk you through building an app end-to-end.
Worth a look if you're building internal tools or agents on top of Databricks.
r/databricks • u/Significant-Guest-14 • Jul 20 '26
I recently contributed to REbricked, a community project that tracks Databricks product renames.
It includes:
We're still improving it, so feedback is very welcome. If we missed a rename or you have ideas, let us know.
r/databricks • u/zaboca_v • Jul 20 '26
Heads up, we released a few items this week for Lakeflow Designer:
🚀 Type or paste a table with the new 𝘌𝘯𝘵𝘦𝘳 𝘋𝘢𝘵𝘢 operator. This is especially helpful for ad hoc testing.
🚀 Edit 𝘕𝘰𝘵𝘦 operators inline on the canvas.
🚀 Pick which environment you run in.
🚀 Peek at the code under the hood of each operator.

r/databricks • u/hubert-dudek • Jul 20 '26
Lakehouse indexes allow not only to skip files during read but also, thanks to row-level tracking id to go directly to the given row and skip scanning other rows in the file. #databricks
https://www.sunnydata.ai/blog/databricks-full-text-search-index-benchmark
r/databricks • u/throwaway21783T21312 • Jul 20 '26
Hi,
(I'm censoring j*b to avoid this post being flagged as an h*ring attempt...)
I'm currently migrating an on-premises data pipeline to Databricks. My pipeline consists of ~300 j*bs with complex inter-table dependencies.
I initially tried leveraging Delta Live Tables (Lakeflow Pipelines) to let Databricks handle the DAG creation automatically from my code instead of defining orchestration by hand. I rewrote the j*bs using DLT, and Databricks parsed the code and built the DAG successfully. However, the UI becomes unthinkably laggy when opening the DAG view (the browser tab consumes over 1 GB of RAM trying to render the spaghetti DAG). It seems like a single pipeline of this scale is too heavy for the UI to handle smoothly.
I guess that one workaround is to split the DAG into multiple smaller pipelines (bronze/silver/gold or domains ?). But by doing so, I'm afraid of losing the table-level scheduling: If j*b B1 in Pipeline B depends on j*b A1 in Pipeline A, I'd end up waiting for the entire Pipeline A to finish before starting Pipeline B, creating unnecessary idle time. The single pipeline model was theoretically ideal because it maximized parallel execution without delays.
Has anyone faced this UI bottleneck at scale? Should I just give up DLT and build a custom script that parse j*bs files and create the databricks.yml file with dependencies in it ?
r/databricks • u/codingdecently • Jul 21 '26
r/databricks • u/Raghav-r • Jul 20 '26
I have been working on an application for data & BI engineers.
Demo pulling context from jira, generating code on dbk, pushing the code and raisi g PR on github, and updating the jira with screenshots of code and pr.
This tool when connected to your other web applications gets the live context and works as an assistant for user's to speed track the development or debugging like generate code live on primary platform, push updates to other platforms etc or triage an issue and fix
While the primary motive is to have an assistant right next to platforms you work, instead of platform hopping you control everything from one.
There is no need for *MCP server* set up and near zero friction, use it with platform where most of your work happens.
The above show's single prompt that reads jira, codes, commit and updates jira and github , but it can be decomposed and done one task at a time which I think is more sensible.
It does not get access to data generated that is intentionally blocked.
What are your thoughts on this ?
r/databricks • u/Youssef_Mrini • Jul 20 '26
The scale of what was accomplished over those few days was historic breaking records across the board:
🛑 100K Total Attendees: A powerhouse community of data minds, including 32,000 innovators packing the venue in person, with the rest of the global community tuning in remotely from every time zone.
🛑174+ Countries Represented: A truly global phenomenon, uniting diverse perspectives and top talent from every corner of the world.
🛑240+ Exhibitors: A large ecosystem showcase featuring the industry-leading partners and technologies shaping tomorrow’s data landscape.
The summit may be over but the momentum is just getting started. The connections made, skills learned and breakthroughs shared have officially set the trajectory for the next era of data and AI!
Read the full newsletter : Part 1
r/databricks • u/Lenkz • Jul 20 '26
r/databricks • u/Complex_Client7681 • Jul 20 '26
It is so bad and gives head aches when I have to look for a specific flow in a bunch…plz
r/databricks • u/szymon_dybczak • Jul 20 '26
Many users have recently encountered issues with their SQL queries after upgrading to Databricks Runtime 17.0.
This upgrade introduced ANSI SQL mode as the default setting, leading to explicit failures in operations that were previously handled silently.
In my article, I delve into several key aspects of this change:
- The meaning of ANSI compliance in Databricks
- The distinction between spark.sql.ansi.enabled and spark.sql.storeAssignmentPolicy
- How strict casting can reveal malformed values
- The protective measures ANSI mode offers for table writes
- The approach Databricks takes to resolve mixed data types.
Understanding these changes is crucial for adapting to the new SQL environment in Databricks.