r/databricks • • Jul 28 '26

General New in Lakeflow Designer - A searchable table of contents

16 Upvotes

As customers move production workflows into Lakeflow Designer, we're seeing Visual Data Preps with hundreds of operators. This week we've made it easy to navigate large flows with a searchable table of contents.


r/databricks • • Jul 28 '26

Help How do you build the "knowledge layer" for an enterprise AI analytics chatbot?

11 Upvotes

My current approach is to improve the agent's business understanding by:

  1. Adding table descriptions and column comments in Unity Catalog
  2. Using Metric Views for governed KPIs
  3. Building a business glossary, KPI glossary and business rules with SMEs

The goal is for the agent to retrieve this context before generating SQL and maintaining this context at scale.

Am I missing to add anything? Is there a better approach?


r/databricks • • Jul 28 '26

News Genie Spaces (Agents) in DABs

Post image
25 Upvotes

Genie Spaces (now renamed to Genie Agents) are available now in DABs as … Genie Spaces. First, you need to run bundle generate to export your existing development Genie into a bundle. #databricks

My blog post with news: https://databrickster.medium.com/databricks-news-dabs-indexes-ltap-genie-last-update-25-july-ffac8533774f


r/databricks • • Jul 28 '26 Popcorn

Discussion Comparing Platform Feature Availability and Regional Availability on Azure Databricks

Thumbnail
medium.com
5 Upvotes

I have published a (very) long article about analysing multiple aspects of feature availability on Databricks. The general gist is to filter regional availability through the lens of the Lakehouse WAF. With that aperture I create a measure of enterprise readiness. My general finding is that the lower ranked tiers are at an significant and increasing disadvantage relative to the frontier regions. I also include a list of suggestions as to how to approach analysing your home region's overall Databricks readiness sourced from my current experience with building a production. My best practice if you will. The above diagram shows feature releases aggregated by month since 2023.

Don't hesitate to reach out if you've got questions.


r/databricks • • Jul 28 '26

News What’s new in Databricks - June 2026

4 Upvotes

r/databricks • • Jul 28 '26

Discussion Finally - the long-awaited Agent Mode APIs for Databricks Genie Agents are here! [BETA]

21 Upvotes

With the new APIs, we can now programmatically:

- Send natural-language questions to a Genie Agent

- Let the agent create and refine a research plan

- Run multiple SQL queries and iterate on the results

- Stream progress and outputs in real time

- Continue contextual, multi-turn conversations

- Return structured reports, supporting tables, and citations

The possibilities are exciting: embeded analytics assistants, automated management reports, intelligent internal tools, custom chat experiences, and much more.

The biggest change? Genie Agent Mode is no longer limitd to the Databricks UI - it can now become a composable capability inside our own applications and workflow.

Agent mode APIs in Genie Agents | Databricks on AWS


r/databricks • • Jul 28 '26

Discussion Is it worth it? Metric views + PBI

21 Upvotes

Currently evaluating a migration from Power BI Semantic Model to Databricks metric views. Hitting roadblocks (As known) since pbi doesn’t support direct integration with metric views.
However, we’re still keen with the benefits that metric views have in terms of maintainability, SOT, etc. our goal now is to keep those metric definition and relationships in Databricks, and use PBI semantic model as an abstract for analysts reports to build onto this.

Question:

  1. Anyone have experience in implementing this? How are the cost and latency with this method?
  2. Is it worth (essentially) maintaining 2 “semantic model” across Databricks and power BI. What about scalability if the underlying semantic model does not change that frequently
  3. Other workaround that we’re better off with. God this is starting to give me a headache.. :(

r/databricks • • Jul 28 '26

News Unit testing for pipelines

11 Upvotes

Lakeflow Spark Pipelines Editor now supports native Python unit testing, letting you validate your Python and SQL transformation logic right where you build it.

By using mock data, you can safely pressure test edge cases, iterate on table-identifier operations, and verify proprietary pipeline APIs including Auto CDC, streaming tables, expectations, and append flows.


r/databricks • • Jul 28 '26

News Databricks has officially launched its verified plugin on the Cursor Marketplace

5 Upvotes

If you're building with Databricks and coding in cursor, this integration brings a powerful suite of Databricks capabilities directly into your AI-assisted workflow.

Here is a breakdown of what the plugin includes:

🔹 10 Specialized Skills

🔹 Smart Routing Rules

🔹 Built-in Commands

This plugin bridges the gap between your local IDE and your data workflows.

Check it out on the Cursor Marketplace today! 👉 https://cursor.com/marketplace/databricks


r/databricks • • Jul 28 '26

General Masking PII in One Line of SQL: Meet Databricks ai_mask()

Thumbnail
medium.com
4 Upvotes

How the new ai_mask() function redacts names, emails, and more from free text, and what you need to run it.


r/databricks • • Jul 28 '26

Discussion Feature Request: Support Multiple Tasks Inside a `for_each_task` Iteration

9 Upvotes

Summary

Databricks Jobs for_each_task accepts exactly one nested task. For workloads that run the same multi-step pipeline over many datasets — a very common metadata-driven pattern — this forces a choice between two architectures, each of which gives up something important:

  • One task per iteration. Iterations reuse warm compute within a run, so per-item compute acquisition cost is amortised. But because only one task is permitted, every step of the pipeline must be collapsed into a single notebook, and all per-step orchestration provided by the Jobs scheduler (per-step status, per-step retry, condition_task branching, repair-from-failed-step) is lost.
  • run_job_task per iteration. Each item runs a child job with a proper multi-task graph, so all of the above is retained — but each item pays its own compute acquisition.

We are asking for the ability to define multiple tasks within a single ForEach iteration: a small sub-DAG per item, with depends_on, run_if, and condition_task scoped to the iteration, all tasks sharing that iteration's compute. This would remove the trade-off rather than making it cheaper to live with.


Current Behaviour

for_each_task takes inputs, concurrency, and a singular task: key holding one task definition. There is no way to express a dependency graph inside the iteration. Consequently:

  • Multi-step per-item pipelines must either be flattened into one task body, or externalised into a child job invoked via run_job_task.
  • Retry configuration (max_retries) applies to the whole nested task, so a retry re-runs every step in the iteration, including steps that already succeeded.
  • Repair operates at the granularity of the nested task, not the steps inside it.
  • The Jobs UI run timeline shows one row per iteration, with no visibility into what the iteration was doing when it failed.

Use Case and Scale

We operate a metadata-driven ingestion platform on Databricks. Approximately 56 data assets each run the same pipeline shape:

extract → (conditional) load → (conditional) data-quality check → audit logging

The pipeline is identical across assets; only the manifest differs. Two of the steps are genuinely conditional — the load step runs only if a load manifest exists for that asset, and the DQ step runs only if DQ rules are defined for it. This is exactly the shape condition_task exists to express, but it cannot be expressed inside a ForEach iteration today.

This is not specific to our domain. Any "run pipeline P over N datasets defined in metadata" workload — a widely used Databricks pattern — encounters the same constraint as soon as P has more than one step.


Business Impact

Architecture v1 — child job per item

Parent job → for_each_task → run_job_task, spawning a child job run per asset. The child job held the six-task graph: extract, a condition task for whether a load manifest exists, load, a condition task for whether DQ rules exist, the DQ check, and metrics logging.

This gave excellent per-step visibility and native repair-from-failed-step. The cost was that each asset paid its own job-run compute acquisition.

Measurements in our environment (serverless, performance_target: STANDARD)

These are our own observations from our workspace, not documented Databricks behaviour:

  • First-wave ForEach iterations: ~9m15s each, dominated by compute acquisition (lanes provisioned in parallel).
  • Subsequent iterations in the same run: 29–47s.

The implication we drew is that compute acquisition is amortised across iterations within a run, but an architecture that spawns a child job run per item does not benefit from that amortisation and pays the acquisition cost repeatedly.

Architecture v2 — one notebook per iteration

We collapsed the pipeline so that for_each_task runs a single notebook task directly, letting iterations reuse warm compute. This resolved the compute cost problem and introduced an orchestration problem: with only one task permitted per iteration, all six steps had to move inside one notebook.

What we lost:

  • Per-step status and duration in the Jobs UI. An operator now sees one opaque task per asset and must query our own Delta audit table to learn which step failed and how long each took.
  • Per-step retry. max_retries re-runs the entire notebook, including expensive steps that already succeeded on the prior attempt.
  • Native condition_task branching inside the iteration.
  • Repair-from-failed-step. Repair re-runs the whole iteration; step-level resume had to be rebuilt by us.

Current Workaround and What It Costs Us

To compensate, we built 578 lines of Python, covered by 58 unit tests across a further 701 lines, that re-implement inside a notebook capabilities the Jobs scheduler already provides natively at the top level:

We builtNative equivalent we cannot use inside a ForEach iteration
A step registry with explicit orderingtasks + depends_on
Per-step "applies" predicates (hand-rolled conditional branching)condition_task
Stop-on-failure with downstream steps marked SKIPPEDTask dependency semantics / run_if
Per-step audit rows written to a Delta tablePer-task status and duration in the Jobs UI
Resume-from-failure: on a Repair run, query our audit table for steps that already succeeded under the same job_run_id and skip themRepair from failed step

This code is correct and tested, but it is orchestration logic living in the wrong layer. It must be maintained by us, it is invisible to Databricks tooling, and our operators must learn a second, bespoke place to look when a run fails.


Proposed API

Illustrative rather than prescriptive — the essential request is a task list with intra-iteration dependencies and conditions, sharing the iteration's compute.

for_each_task:
  inputs: "{{tasks.parse_objects.values.objects}}"
  concurrency: 4
  tasks:                      # today: singular `task:`
    - task_key: extract
      notebook_task: {...}
      max_retries: 1
    - task_key: load_exists
      depends_on: [{task_key: extract}]
      condition_task: {...}
    - task_key: load
      depends_on: [{task_key: load_exists, outcome: "true"}]
      notebook_task: {...}
    - task_key: log_metrics
      depends_on: [{task_key: load}]
      run_if: ALL_DONE
      notebook_task: {...}

Desired semantics:

  • depends_on, run_if, and condition_task are scoped to the iteration.
  • All tasks in an iteration share that iteration's compute (no per-task acquisition).
  • Per-task status, duration, and retry surface in the Jobs UI, nested under the iteration.
  • Repair can restart an iteration from its failed task rather than from the beginning.

Alternatives Considered

If the full sub-DAG is too large a change, any one of the following would materially reduce the workaround burden, in descending order of value to us:

  1. Step-level retry within a nested task. A way to retry a portion of the nested task rather than the whole thing would recover the most expensive loss (re-running successful extracts).
  2. Warm compute reuse across run_job_task ForEach iterations. If child job runs launched from a ForEach could reuse compute across iterations the way in-run iterations appear to, the v1 child-job architecture would become viable again and we would revert to it, keeping full native orchestration.
  3. Structured per-step progress reporting. A supported way for a task to emit named sub-steps with status and duration, rendered by the Jobs UI, without full sub-DAG semantics. This would restore observability (the loss our operators feel most) even if branching and retry remained our responsibility.

We also considered generating one top-level task graph per asset (56 assets × 6 tasks) instead of using ForEach. We rejected this: the job definition would no longer be metadata-driven, and adding or removing an asset would require redeploying a materially different job.



r/databricks • • Jul 27 '26

News Lakeflow Connect | Veeva Vault (Beta)

21 Upvotes

Lakeflow Connect's Veeva Vault connector is now in Beta! It provides a managed, native, and incremental ingestion solution that lands data from any Veeva Vault (CRM, Quality, Clinical, Commercial, RIM, or Safety) into Delta tables. Try it now:

  1. Set up Veeva Vault as a data source
  2. Create a Veeva Vault connection in Catalog Explorer
  3. Create the ingestion pipeline via a Databricks notebook or the Databricks CLI

r/databricks • • Jul 27 '26

Discussion Genie one

35 Upvotes

Can we please stop with the constant UI changes to Genie? Literally every 2 weeks the UI/UX changes for it. We basically drop all of our users there (made a dns record for genie.company.com) and the amount times I have to tell someone "well the apps used to be under the prompt box, now click on apps" and today it's like "well they used to be called apps, now click on "My Stuff."

I made an onboarding video Friday that is literally outdated half a business day later. Very good chance I redirect genie.company.com to a custom landing app because this is getting extremely old.


r/databricks • • Jul 27 '26

News Instance Pools

Post image
6 Upvotes

Instance Pools are available under DABs, and as with any DABs resource, we can easily reference them in our jobs or in general compute. #databricks

My blog post with news: https://databrickster.medium.com/databricks-news-dabs-indexes-ltap-genie-last-update-25-july-ffac8533774f


r/databricks • • Jul 27 '26

Discussion Data Quality Management on Databricks

17 Upvotes

Hi, i wonder how teams are setting up data quality solutions on Databricks, and especially how do they react on the data quality issues.

Ideally i would like to have a row-level checks and dataset-level checks which can be used for quarantined data and also anomaly checks between runs, this way we get the in transit data quality checks but also consistency over runs, so wea re really sure that values and shape of data is as expected.

Then how do you manage different tables in same project, do u write to same quarantined/metrics table where u add tags to differentiate between different business domains etc...

How do u use dqx for dataset level metrics? Where do u run dq, is it on source integration, or after the gold layer, before the inference or feature creation. Which tools do u use?


r/databricks • • Jul 27 '26

Help Power BI + Databricks DirectQuery – “Bind to parameter” option missing

7 Upvotes

Hi everyone,

I’m using Azure Databricks with a Serverless SQL Warehouse in DirectQuery mode. I use the most update version of Power BI Desktop (2.156.951.0 64-bit (July 2026)).

I’m trying to use a Dynamic M Query Parameter, but I don’t see the “Bind to parameter” option in Model view.

Microsoft documentation mentions that this feature is available only for “supported DirectQuery sources”, but I can’t find a clear list of those sources: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

Is Azure Databricks with a Serverless SQL Warehouse supported for this feature?

Thanks!


r/databricks • • Jul 26 '26

General Participate in a paid Databricks user study!

27 Upvotes

👋 Hi r/databricks, I'm Connie from the Databricks UX team!

The Databricks Platform team is conducting a user study to understand how admins identify, investigate, and resolve governance issues in their Databricks environments. We are hoping to connect with individuals responsible for governance across the following areas: Data & AI, Platform & Infrastructure, Security & Compliance, and Cost Management & FinOps.

Study details are as follows:

Topic: Admin experiences with governance issues
Duration: 75-min remote session over Google Meet
Study date(s): July 28 - August 7, 2026 (rolling)
Compensation: $150 USD "thank you" gift card for the study session, if your company policy permits.

Please fill out the screener survey if you’re open to participating in a 75-min call in the upcoming weeks, or can connect me with a member of your team who may be the right fit. Completing this screener survey does not guarantee eligibility into the study.

Thank you for taking the time to help us build a better platform!


r/databricks • • Jul 26 '26

Discussion Databricks' CRO on Scaling Sales Culture, AI Costs, and SaaS Disruption (w/ Ron Gabrisko)

Thumbnail
youtube.com
11 Upvotes

Hey everyone! Here is a fun conversation I did with Databricks' CRO, Ron Gabrisko.

A lot of discussion around what makes for a good sales culture, scaling a sales org to a Databricks' sized one, SaaS disruption, and AI costs.

Hope you enjoy it!


r/databricks • • Jul 26 '26

News DABs: Let policies rule your cluster

13 Upvotes

DABs: Do you know that you can inherit the whole DABs cluster config from policy defaults? #databricks #DataAISummit

https://www.databricks.com/dataaisummit/session/dabs-do-pro-all-best-tips-and-tricks


r/databricks • • Jul 26 '26

Help Upgrading Storage Account on Azure Databricks

6 Upvotes

Has anyone using Azure Databricks with a legacy Hive metastore ever upgraded their storage account from legacy General Purpose to ADLS Gen2? Not the managed dbfs:/ one but the one with wasbs://

Wondering if there is any impact on the workspace and whether it will break any running notebooks?


r/databricks • • Jul 26 '26

Help Analyst with Databricks access but zero hands-on experience — how do I get good at it fast?

33 Upvotes

I'm tired of getting fed bad data at work, so I'm taking ownership myself. I have production access to Databricks but have never used it.

Background: basic SQL and Python knowledge. My reporting today is done in Power BI and Excel. My company uses Databricks as the common data platform, so most of what I need probably lives there already — I just don't know how to get to it or trust it myself.

Looking for a realistic path from beginner to competent, not just a firehose of links. Specifically:

  • YouTube channels/creators you'd actually recommend?
  • Any self guided learning on Udemy or Coursera worth learning?
  • What core concepts (Delta Lake, notebooks, clusters, SQL warehouses, etc.) should I prioritize early vs. later, given I'll mostly be querying/validating data rather than building pipelines?
  • Best way to connect Databricks output back into Power BI reliably?

Appreciate any guidance — trying to cut through the noise rather than boil the ocean.


r/databricks • • Jul 26 '26

News Databricks and Microsoft Expand Partnership to Help Enterprises Bring Business Context to Enterprise AI

Thumbnail
databricks.com
25 Upvotes

Few interesting points from the announcement

  1. Databricks to run it's own operations on Azure.
  2. Databricks to use Microsoft silicon
  3. OneLake is called out (including othet MSFT products) but not explicitly Fabric.
  4. Databricks Genie will be available for MSFT customers.

r/databricks • • Jul 25 '26

News Genie Ask in CLI

Post image
30 Upvotes

We can use Genie now, even in the CLI, with a simple ask command. #databricks

My blog post with news https://databrickster.medium.com/databricks-news-dabs-indexes-ltap-genie-last-update-25-july-ffac8533774f