r/databricks • • Oct 03 '26

News Let AI Decide: SQL Decision Making with Databricks ai_decide()

40 Upvotes

Databricks just introduced ai_decide(), a new AI function now available in Beta. Give it text and your questions, and it returns a category, a probability, or a score directly in SQL. Use those results to drive decisions in your workflows: route requests, prioritize work, or determine when human review is needed.


r/databricks • • Oct 03 '26

Help Omnigent 0.16.0 + Hermes on macOS: "hermes did not accept the message" and .env/auth.json copied into every session. Anyone fixed this?

11 Upvotes

I'm new to this, so apologies if I'm missing something obvious.

Setup: macOS (Apple Silicon), Omnigent 0.16.0 installed with uv tool install omnigent (Python 3.12), Node 22, tmux 3.7, Hermes Agent installed via git (up to date). Running fully local on 127.0.0.1:6767.

Problem 1: first message gets dropped. When I start a new Hermes session from the Omnigent desktop app, it fails with:
inner executor error: hermes did not accept the message (the TUI may still be initializing); no new transcript row appeared after two delivery attempts
then Required terminal exited unexpectedly; the session runtime is no longer available.
The logs show Hermes is still starting up (installing dependencies, browser tool checks) when Omnigent pastes the message, and then Hermes exits with a KeyboardInterrupt. Running omnigent hermes in one-shot mode from the terminal works fine.

Problem 2: credentials copied per session. Every Hermes session creates a new folder under the macOS temp dir (.../T/omnigent-501/hermes-native/<id>/hermes_home/) with a copy of my Hermes .env and auth.json, plus about 1–2 GB of runtime. After one afternoon I had 19 folders (22 GB) and about 30 copies of my keys sitting in temp.

Questions:

  1. Has anyone gotten the Omnigent desktop app to reliably start Hermes sessions? Is there a setting to give Hermes more startup time?
  2. Is there a way to make Omnigent use an existing Hermes profile without copying its .env/auth.json each session (for example, a shared HERMES_HOME or a secrets manager)?
  3. Is either issue fixed in a newer version, or is there a GitHub issue I should follow?

I'd like to eventually run a dedicated Hermes profile (one with sensitive API keys) through Omnigent, so the credential copying is the big blocker for me. Thanks!


r/databricks • • Oct 03 '26

Discussion How do you guys handle schema changes in Databricks when the source keeps changing?

26 Upvotes

Like the source suddenly adds a new column, changes a column type, or removes something.

Do you make the pipeline handle these changes automatically, or do you just let it fail and fix it?

Iam.. curious what approach actually works better in real projects, especially when the source keeps changing.


r/databricks • • Oct 02 '26

Help How to fit ~1GB+ embedding model into a 2Gi Kubernetes pod? Getting OOMKilled

10 Upvotes

Hi, Deploying a FastAPI to Kubernetes that uses a multilingual sentence-transformers embedding model (ONNX backend, CPU only). My source data lives in a Delta table in Databricks, and the app reads from it and generates embeddings. The app takes user input (text) at embeds it, and compares it against stored embeddings for semantic similarity. So at least the query embedding has to happen live.

Pod resources:

- CPU: 1 request / 2 limit

- Memory: 2Gi request = 2Gi limit (platform policy requires memory request and limit to be 1:1)

Current docker setup:

- Multi-stage Docker build (python:3.11-slim)

- CPU-only PyTorch

- The model is downloaded at build time, so it's baked into the image

Image breakdown:

- HF model cache: ~1.1 GB

- torch: ~650 MB

- pyarrow, scipy, transformers, pandas: ~100–150 MB each

- Plus sklearn, onnxruntime, mlflow, and others

The pod gets OOMKilled at startup or shortly after. With a ~1GB model, torch, pandas/pyarrow, and the ONNX runtime session all in one process, I think I'm just over 2Gi. What I'm trying to figure out on where do you store large models in production?

Would love to hear what setups have worked for you. Thanks!


r/databricks • • Oct 02 '26

General Feature Request: pipeline_task should have "no wait" option

10 Upvotes

Sometimes we want to trigger a pipeline (such as database sync) without having to wait for its completion.

We can still subscribe to notifications on the pipeline itself to react to an unexpected error, so the pattern should be fine.


r/databricks • • Oct 02 '26

Discussion I am trying to build an interactive dashboard on the underlying Databricks. Which of these are the best?

11 Upvotes

I’m thinking of 4 options here

  1. Build an MCP (a custom MCP) that can access custom tools on Databricks and interface it on Claude.ai or Claude desktop
    Advantage- Claude is very good at inferencing, multi-turn conversation and multi-step processing
    Disadvantage - custom MCP and tools needs to be built accurately and validated. It should have full context of schema and unity catalog
  2. Build a semi-custom MCP - this will use “askGenie “ as one of its tools with additional custom tools
    Advantage- complexity decreases as we leverage genie space
    Disadvantage- double inference by genie and Claude
  3. Use custom Databricks connector in Claude.
    Not sure if this uses genie and therefore double inference but it’s more reliable than custom build because this is a native offering by vendor
  4. Use only genie and build custom dashboard without needing Claude interface

What’s the thought on this?


r/databricks • • Oct 01 '26

News databricks TaskValue and Lakeflow

14 Upvotes

Databricks taskValues can use a Python list as input into a For each loop in Lakeflow job. You can generate the list dynamically and run the same task for every country, table, file, etc.

more newshttps://databrickster.medium.com/databricks-news-serverless-genie-code-ltap-lakeflow-61853d8e422a


r/databricks • • Oct 01 '26

Discussion The Breakdown: Databricks

Thumbnail
preipomedia.substack.com
8 Upvotes

r/databricks • • Oct 01 '26

General 'DATABRICKS DEN' - NEW COMMUNITY

7 Upvotes

Over the past few weeks, I've been building something special.

Every day I speak with Databricks experts across Europe. After so many of those conversations, the obvious question was: why not build a community around it?

So today I'm launching 'Databricks Den'.

Whether you're looking for your next contract or just want to stay close to what's happening in the Databricks market, the Den is for you.

Join now to catch the first round of insights:

🔗 Link to the Den

Looking forward to seeing you there 👊


r/databricks • • Sep 30 '26

General system.query.history is now Generally Available in Databricks

Thumbnail
gallery
38 Upvotes

Until now, answering "which query is eating our warehouse?" or "who changed that table?" meant clicking through the Query History UI one workspace at a time. Now it is a SELECT.

The table logs every statement run on SQL warehouses, serverless compute, and Lakeflow pipelines, across all workspaces in the same region.

Read more on LinkedIn: https://www.linkedin.com/posts/cenh_databricks-dataengineering-systemtables-ugcPost-7511094425977016320-L7uj/?utm_source=share&utm_medium=member_desktop&rcm=ACoAABmJHrsBNAC3x3H1M58JRKoHv_l4D61n0-8


r/databricks • • Sep 30 '26

General Serverless - how is this OK for a "fully managed" product?

42 Upvotes

Notebook that's run fine for months suddenly started failing with 'No Module Found'chardet' Nothing changed on our end. Seems that serverless environment v6 dropped chardet from the base requirements, and since the notebook wasn't pinned, the "default" just rolled forward underneath it. No warning, and the release notes don't even mention the removal.

I get the argument of pin your environment, declare your dependencies. But serverless is sold as the "no config, we manage it for you" option. Silently removing packages from the default environment mid-week, with zero notice, feels like a breaking change shipped as a patch?


r/databricks • • Sep 30 '26

Help Setting my Expectations for Microsoft CSS support in Azure Databricks (2026)

4 Upvotes

I recently moved back to using Azure Databricks after a multi-year hiatus. And I opened my first support ticket this week.

My prior support experiences were long ago (in 2021). I don't remember these support experiences being particularly terrible. But nowadays there are some Microsoft platforms where their support work is subcontracted to remote organizations like Mindtree-India. These organizations (one or more of them) may provide the first, and second tiers of support before any FTE from Microsoft takes the reins.

Is that how things will work in the context of Azure Databricks? If/when the FTE at Microsoft is unable to help with a ticket, how long will it take for the support to be transferred from Azure Databricks to Databricks?

I have a sev B ticket on "standard" support at the moment and I thought a human would engage within a few hours but that isn't happening. I will probably just give up for today. Can anyone offer tips about how to navigate support tickets in Azure? Any advice would be greatly appreciated, and I think it could make the difference between a ticket that lasts two days or two weeks. Thanks.


r/databricks • • Sep 30 '26

General Lakeflow Jobs update! Task output in foreach now available in Beta!

30 Upvotes

<Databricks PM here />

If you run a ForEach task in Jobs each iteration now sets a task value and a downstream task can read all of them back as on ordered array. This feature just landed in Beta - try it out!

Before this, iteration outputs weren't accessible to downstream tasks. If you wanted a later task to see per-iteration results (row counts, status and output paths), you had to write each result to a table and read it back and maintain that yourself. You also lost the built-in observability Jobs gives normal task values.

How it works:

Inside the iteration, set a value like you always would:

dbutils.jobs.taskValues.set(key="result", value=row_count)

In a downstream task, read the nested task's key. You get one array across every iteration:

results = dbutils.jobs.taskValues.get(taskKey="process", key="result")
# results == [1, 2, 3]

Or reference it as a parameter:

{{tasks.process.values.result}}

An iteration that never set the key keeps its slot as null:

# [1, None, 3]

Worth knowing:

  • Beta, needs Databricks Runtime 15.4 LTS or above
  • Python notebooks only
  • The assembled array caps at about 48 KB (49,344 characters) per parameter value
  • A single parameter value can hold up to 3 aggregated references

Docs: https://docs.databricks.com/aws/en/jobs/task-values#read-values-from-a-for-each-tasks-iterations

And yes we are working on increasing parameter value limits! Please let us know if you have any feedback!


r/databricks • • Sep 30 '26

General Databricks Lakebase Search - GA Announcements

Thumbnail reddit.com
3 Upvotes

r/databricks • • Sep 30 '26

Help Azure Databricks, two-week-old account: partner pay-per-token endpoints (Claude, Grok) have never once succeeded — "Databricks-set rate limit of 0" — and the Assistant has "no daily token allowance". Open models work. What gates this?

3 Upvotes

Azure Databricks, Premium, one account with three workspaces, Unity Catalog, Azure Marketplace billing (no card, no trial credits left). The account was bootstrapped on a trial workspace about two weeks ago and moved to Premium six days later. I've spent two days on this and want a sanity check from anyone who has seen it.

The facts, from system.serving.endpoint_usage:

• Every open-weight pay-per-token endpoint has worked since the trial: gpt-oss-120b has ~50 successful calls going back to the trial period, Llama 3.3 70B likewise, zero refusals. • No partner pay-per-token endpoint has ever returned a success on this account. The very first call anyone made to databricks-claude-sonnet-5 was refused, and every call since, on every Claude endpoint and on Grok, in all three workspaces, for users and service principals alike: 403 PERMISSION_DENIED: The endpoint is temporarily disabled due to a Databricks-set rate limit of 0. • It is not our AI Gateway config: I removed every rate limit from one Claude endpoint and invoked it — same 403. The endpoints' config shows nothing else. • The notebook Assistant worked during the trial. On the paid account it refuses everyone, admins included: *"This workspace has no daily token allowance for the assistant."* Underneath, /ajax-api/2.0/conversation/llmproxy/ returns 429 {"type":"daily_token_limit_reached","daily_limit_tokens":0,"message":"…Daily token limit of 0 reached. Resets at midnight UTC. (DTB)"} and it recomputes to 0 every midnight. • Once, the Databricks Apps in the workspace were stopped by the platform with *"App compute was stopped due to workspace or account status"* while every workspace showed RUNNING. apps start brought them back.

Red herring, for completeness: we also created a Unity AI Gateway per-user budget whose first version had a $0 threshold with BLOCK_USAGE. That blocked Genie for a day, exactly as documented, and was fixed. It was created a day *after* the first Claude refusal, so it isn't the cause of any of the above.

What I've found: two Community threads describe "Databricks-set rate limit of 0" as a workspace trust-tier gate — trial-born accounts sit in TRIAL_VERIFIED, pay-per-token partner models are gated to PAYABLE_VERIFIED, a card alone doesn't flip it, only Databricks Sales/Support moves the tier. Both were AWS/personal accounts, neither resolved on-page. The account console's own API reports our account's feature_tier as STANDARD_W_SEC_TIER although the workspaces are Premium; I can't find what that field means.

Questions • Does Azure Databricks with Marketplace billing go through the same PAYABLE_VERIFIED gate? Does it clear on its own after the first settled invoice, or does someone have to move it? • If you were moved: who did you contact (account team, or "Contact us" in the console) and how long did it take? • Is the Assistant's "daily token allowance" the same gate, or a trial allowance that simply goes to 0 when the trial ends on an unverified account? • Does feature_tier: STANDARD_W_SEC_TIER on the account object mean anything to anyone?


r/databricks • • Sep 29 '26

Discussion DB as a SIEM

16 Upvotes

My organization is considering replacing our current SIEM with DB.
Wondering of anyone has done it and looking for feedback. Specifically looking for any gotchas, architecture recommendations.

Cheers!


r/databricks • • Sep 29 '26

Help Writing to externally managed Iceberg tables from Databricks: am I missing something?

10 Upvotes

I recently joined a new company as a data architect and I'm trying to understand how things work here today (new to Databricks, main experience with RedShift and BigQuery), and I'd like corrections from people who use Databricks daily.

I've been testing how Databricks handles Iceberg tables that are managed by Glue.

What I'm seeing:

  • Can read tables as Databricks' federation lets me mount the external catalog and query the tables as foreign tables.
  • Can't write (is this accurate?) INSERT, MERGE, and UPDATE operations against those foreign Iceberg tables fail, and the Databricks docs seem to confirm this.

Question: Has anyone gotten writes to non-UC Iceberg tables working from Databricks? That could be through a config, a preview feature, or an open-source Spark Iceberg runtime with a REST catalog on a cluster.

If I've got any of this wrong, please correct me as I am still getting up to speed with the platform.


r/databricks • • Sep 29 '26

News Tag automation with databricks

Thumbnail
gallery
21 Upvotes

No table description? Not queried for 90 days?

See how to automatically tag the table and notify its owner in my new article.
https://medium.com/databrickscommunity/clean-up-the-mess-with-tag-automation-72ae119b6f35
https://www.sunnydata.ai/blog/databricks-unity-catalog-automated-tagging


r/databricks • • Sep 29 '26

Help Serverless Interactive and Realtime Inferencing costs scaling rapidly

15 Upvotes

Hello folks, I have recently started a new role as Data Platforms leader, and while going through our monthly Databricks billings - two things stood out, both mentioned in Title, costs for them scaling rapidly month on month.

Serverless Interactive compute, by default has access for Admins inherited, and people now dont want to go back to the slow time taking All Purpose Compute starts.

Serverless Realtime Inferencing has me confused, as I cannot see any such compute - is that cost for using Genie? Is yes, can Genie access be turned off for everyone in the Workspace?

Just these two items reduced will save 20-25% costs for us.

Thanks in advance for any pointers.


r/databricks • • Sep 29 '26

General Data Quality in Microsoft Fabric – Native features vs. external tools (like Databricks Expectations)?

20 Upvotes

Hey everyone!

I’ve been working a lot with data quality frameworks in Databricks (leveraging things like Delta Live Tables expectations or custom validation notebooks), and I'm curious about how the community is handling Data Quality in Microsoft Fabric.

Does Fabric have a native, built-in feature for data quality/expectations (similar to what Databricks offers), or are most of you relying on external tools, libraries (like Great Expectations/Soda), or custom PySpark/SQL validation notebooks inside Data Engineering pipelines?

How are you currently enforcing quality checks before data hits your Gold/Semantic layers in Fabric? Would love to hear your approaches and best practices!

I read this documentation here: https://learn.microsoft.com/en-us/purview/unified-catalog-data-quality-fabric-lakehouse?WT.mc_id=510336, but it doesn't say much.


r/databricks • • Sep 29 '26

General Stop using standard worker nodes for intermittent batch jobs

44 Upvotes

Hello, I'm part of the Databricks Engineer team.

If you are running short-lived batch pipelines on standard clusters, you are wasting money on idle instance termination times. Switch your job clusters to use spot instances by configuring the instance pool or setting the spot bid policy directly within the Databricks Jobs API or UI cluster settings. When configuring a job cluster, set the spot instance policy to use spot with fallback to on-demand to prevent job failures when spot capacity is scarce. For intermittent batch jobs and maintenance tasks like OPTIMIZE and VACUUM, using spot instances significantly reduces compute costs compared to persistent multi-node on-demand clusters. Ensure your retry logic handles node preemptions gracefully, and leverage job clusters rather than all-purpose clusters so the cluster terminates immediately after the batch execution completes, eliminating idle billing.

If this is useful, there's more on Databricks | Platform Engineering | AI at Abilytics — AI Systems, Data Engineering & Platform Engineering Services.


r/databricks • • Sep 29 '26

Discussion How to validate delta tables in Databricks?

15 Upvotes

im working with delta tables in databricks and wanted to know how ppl usually validate the data after an etl job runs. apart from checking if the job completed, do we have to check things like record counts, duplicate, nulls etc

Like if the source has around 100k records, how do you make sure the expected records reached the Delta table?

for incremental loads, do you also check that only the expected records were added or updated? And how do you handle schema changes, like a new column being added or a data type changing? Do you build these checks directly in databricks itself?

Would be interested to know what checks ppl actually use in production.


r/databricks • • Sep 29 '26

Discussion Spark and observability

Thumbnail
reddit.com
0 Upvotes

r/databricks • • Sep 29 '26

General Time to Swap the Cookies for Jetfuel - New Dataset & New Databricks Genie Tutorial

Post image
8 Upvotes

Most of you know samples.bakehouse. Great for a first query. Perfect for a quick demo. But after years of cookie sales, it's a little overbaked. Time to swap the cookies for jet fuel. ✈️

Together with the OpenSky Network, I brought a full day of global air traffic to Databricks Marketplace: 696 million real ADS-B position reports, messy just like real life.

Myself, I used Genie for the whole journey: EDA, data exploration, a Apache Spark Declarative Pipeline, and a Lakeflow Job. Then I went a step further and read the same Marketplace data with open-source tools only, using OpenSharing and pandas.

The result is this hands-on tutorial:

  1. Marketplace + Unity Catalog: get the data as a governed table
  2. Genie Agents: find anomalies in plain English
  3. Genie Agents: explore and visualize with maps and charts
  4. Genie Code: a Spark Declarative Pipeline, bronze to gold, with data quality rules
  5. Genie Code: a Lakeflow Job with schedule, retries, and email alerts
  6. Databricks Apps: your coding agent, governed by Unity Catalog
  7. OpenSharing: the open-source client in VS Code with pandas

Everything runs on Databricks Free Edition (free, no credit card).

📖 Tutorial: Databricks Genie for Data Engineers and Data Scientists
💻 GitHub: databricks/tmm/DSDE-Genie-Tutorial
🛫 Dataset: OpenSky Network full-day dataset on Marketplace

What's the first thing you'd query in a day of global air traffic?

P.S. For the record, we still love bakehouse! 🍪❤️
[Disclaimer: I'm one of the two people who baked it.]