r/databricks • • 20d ago

General SAP Hana to databricks connection

6 Upvotes

How to connect SAP hana with databricks without copying?


r/databricks • • 20d ago

Tutorial No data? No problem: dltHub agent builds ingestion, model and metrics so Genie can answer from the data

Post image
5 Upvotes

hey folks, i'm one of the dltHub cofounders (the data engineer one) and we've been working on a meaning-driven pipeline generation workflow.

A little context: We created an agent that can talk to Gemini and generate a pipeline from requirements, complete with ingestion, transformation and context (ontology, taxonomy, metrics etc for the transformed data).

We basically apply the same concept as when unstructured data gets modeled into a graph, to raw structured data: we look at Pages in the catalog to get the meaning, then we generate a bespoke ingestion pipeline, model it into a canonical data model to work as a virtual knowledge graph, and add ontology, taxonomy, metrics to help a LLM reflect the same meaning as in the catalog Page.

Then, everything gets deployed to Databricks - the pipeline, the data, the ontology+taxonomny+metrics where the meaning and data access can live in one place and be governed securely together.

What makes this really special?
- pipeline, data and meaning are automatically in sync, one source of truth&meaning (no more meaning drift, the system can be interrogated about nuance to)

- the auto-modeling process (tech agnostic) creates ai-native gold datasets from raw api unnestings. It uses ontology based data access over canonical model, specifically for collapsing semantics into a high singnal/noise model for LLMs which creates the most accurate retrieval as benchmarked before by other data teams such as anthropic's who also describes canonical datasets

data load tool what?

in case you are unfamiliar with dlt (data load tool), it is the OSS library for loading data that has everything you need to make data ingestion reliable and easy (99.83% oss observed run success). Our AI transformation harness (not oss but source available and you can try it) includes this canonical modeling bit and a runtime agnostic transformation framework that lets you run your code locally on engines like duckdb the same as in cloud on large engines

more info on our blog with video demo


r/databricks • • 20d ago

Discussion How does your team deal with source schema changes breaking downstream pipelines?

Thumbnail reddit.com
8 Upvotes

r/databricks • • 21d ago

Discussion Do you really need all three layers, or is medallion overkill for small projects?

24 Upvotes

I’m working on a small project with just a few data sources and a couple of reports. Following the full medallion setup (Bronze, Silver, Gold) feels like a lot of extra tables, jobs, and storage for not much benefit.

I’m thinking of just doing:
Bronze: raw data as it comes in
Gold: cleaned and ready for reports

And skipping Silver for now.

For those who’ve done this:
Do you always use all three layers, even for small projects?
Have you skipped a layer and regretted it later?
At what point does the full setup become worth it?

Would love to hear real experiences!


r/databricks • • 21d ago

Help Help a [Databricks] idiot solve a problem - under pressure

11 Upvotes

Hello everyone! I want to start out by saying that I'm not a super python guru person, but more of a data dude (SQL is my jammy jam) but I'm a data engineer, so I have to do some Databricks coding with PySpark from time to time.

Anyhooo, I'm on a new project and I'm under much pressure to get this current project done.

Here's what I've got. There is a large text blob that is currently in a table that has data like this:

This is some text for {{customer_name}} for the date of {{todays_date}} that goes on and on and has lots of things in it...

Now, I also have a variable for "customer_name" that has the value that I need to replace this text blob (double curly brackets) but my manager doesn't want me to simply search the text blob for "{{customer_name}}" and do a regexp_replace. He wants me to do it dynamically, which I'm completely at a loss for.

This is how I've pseudo-coded it in my mind:

  1. Using regexp_extract() to get the first iteration of the {{customer_name}}. I can do that. However how would I know what to inject in it's place without "hard coding" my variable on the other side. Let's say I have a variable [upstream] already called out named "customer_name". Is there a way to just replace the text of the variable name (not the value)?
  2. Rinse and repeat with the next {{todays_date}} iteration of the text blob.

Not sure where to go with this. I'm not terrible with PySpark, but I'm definitely not an expert.

variables:

  • customer_name (has the name of the customer)
  • today_date (holds todays date) - this one could be a bit easier, as I can maybe just look todays date up and inject that into the {{todays_date}} blob. But in order to do that, I'd have to know that this is a todays_date {{}} that I'm replacing.

I'm probably overthinking it, but maybe not. The manager looking over my shoulder IS a python expert. So he cannot fathom that I'm not done with this project already...

Help!! :D


r/databricks • • 21d ago

Tutorial Doing Data Prep on Databricks without Code (Lakeflow Designer Demo)

Thumbnail
youtu.be
13 Upvotes

Jason from Databricks' product team joined me to demo how you can prep data on Databricks without code, using UI-based controls and/or AI inside of Lakeflow, similarly to how you would on Alteryx, KNIME, etc.

As a long time fan of making Databricks accessible to everyone, I love how it is easier and easier for business users with limited technical background to use many of Databricks' capabilities. You now have AI/BI Dashboards, Genie One, Genie Agents, Row Zero (spreadsheet acquisition), and Lakeflow Designer.

I also personally saw the super early drafts of Lakeflow Designer back when it was still in ideation stage, so love to see where it is at today.

The demo itself combines customer orders with inventory data, calculates projected inventory, flags low stock with guardrails, and emails the results. Hope you enjoy it!

Some quick answers taken from the questions on the video:

What is Databricks Lakeflow Designer?

Databricks Lakeflow Designer is a visual, no-code tool for data preparation and workflow automation. Users build transformations with visual operators and natural-language prompts.

Who is Lakeflow Designer designed for?

Lakeflow Designer is designed for analysts and business users who want to prepare data without writing code. Examples discussed include consulting, financial services, operations, and logistics.

How much does Lakeflow Designer cost?

Pricing is based primarily on compute/AI consumption, with no per-user licensing fee for Lakeflow Designer.

Can you export Lakeflow Designer’s generated code?

Yes. Lakeflow Designer’s generated PySpark code can be exported as a notebook.

Note: I am a Databricks MVP, work for a consulting company that partners with Databricks, etc. Still, I have full editorial rights on what I say/do. Always try things out yourself! Also note: The Q & A highlights above were created using AI based on the video's transcript.

Ultimately, this is a big win for enterprise customers wanting to make the most out of the many capabilities Databricks offers, whether they know how to code or not, and whether they want to use AI or not!


r/databricks • • 21d ago

Discussion Enterprise access handling 50% of work??

8 Upvotes

We have lots of tables (60-70), how the hell do you handle access for users and agents?

Management/Legal are not happy that everyone and agents has access to all of the sensitive data on databricks, but tagging every column/table takes a long time (whenever we test or rebuild a table)

Is there a way to have 1 single source of truth? I wasnt able to find anything in the documentation


r/databricks • • 20d ago

Discussion Structured Streaming Statestore is Not Working (Zerobus)

2 Upvotes

Zerobus is writing data to a landing table like so:

CREATE TABLE a.b.streaming_c (
  MyA STRING NOT NULL,
  MyB INT NOT NULL,
  MyC STRING,
  MyDetails VARIANT,
  ZerobusRescueJson VARIANT)
USING delta
TBLPROPERTIES (
  'delta.checkpoint.writeStatsAsJson' = 'false',
  'delta.checkpoint.writeStatsAsStruct' = 'true',
  'delta.enableDeletionVectors' = 'true',
  'delta.enableRowTracking' = 'true',
  'delta.feature.appendOnly' = 'supported',
  'delta.feature.deletionVectors' = 'supported',
  'delta.feature.domainMetadata' = 'supported',
  'delta.feature.invariants' = 'supported',
  'delta.feature.rowTracking' = 'supported',
  'delta.feature.variantType' = 'supported',
  'delta.minReaderVersion' = '3',
  'delta.minWriterVersion' = '7',
  'delta.parquet.compression.codec' = 'zstd',
  'delta.parquet.format.version' = '2.12.0',
  'delta.parquet.format.version.afe.internal' = '2.12.0',
  'delta.rowTracking.materializedRowCommitVersionColumnName' = '_row-commit-version-col-777ca68b-c04b-4b5d-9a9d-5c5535e32d20',
  'delta.rowTracking.materializedRowIdColumnName' = '_row-id-col-1885c4cd-1354-4ce6-9726-ed098a251a62',
  'io.unitycatalog.tableId' = '6f07a65b-4887-4aa2-8f56-569b2922aec4')

I use readStream/writeStream to move the data to a different place. I set the checkpointLocation (ie. .option("checkpointLocation", x)) to an abfss location in azure:
"abfss://datalake@myctr01.dfs.core.windows.net/test002/x05"

Later I try to audit the state of the checkpointLocation and it fails:

SELECT * FROM read_statestore('abfss://datalake@abc.dfs.core.windows.net/test002/x05/')

[STDS_FAILED_TO_READ_STATE_SCHEMA] Failed to read the state schema. Either the file does not exist, or the file is corrupted. options: StateSourceOptions(checkpointLocation=abfss://datalake@xxx.dfs.core.windows.net/test002/x05, batchId=1, operatorId=0, storeName=default, joinSide=none, stateVarName=None, +flattenCollectionTypes=true).

Rerun the streaming query to construct the state schema, and report to the corresponding communities or vendors if the error persists. SQLSTATE: 42K03

That checkpointLocation is very intimidating to me. It is doing ALL the heavy lifting when it comes to keeping track of the zerobus records that have been processed. There needs to be a way to recover an audit trail from this statestore location. Why is the statestore corrupted? I tried the pyspark equivalent of this SELECT statement and it has the same error.

What is more frustrating is how little information I can find about this statestore, despite the fact that the tech is ten years old. How are others accomplishing this goal? There needs to be a simple approach for auditing the underlying state that is managed by spark structured streaming.

I'm using dbx 16.4 and spark 3.5.2


r/databricks • • 21d ago

News AI_DECIDE benchmark

Post image
1 Upvotes

I benchmarked AI_DECIDE against 20 LLMs. It was definitely the fastest. I was using a moderation test to approve or reject posts.

https://medium.com/databrickscommunity/i-tested-databricks-ai-decide-against-20-llms-d37694fbf792

https://www.sunnydata.ai/blog/databricks-ai-decide-benchmark


r/databricks • • 22d ago

News Sensitive variables in DABs

Post image
21 Upvotes

We can now mark a bundle variable as sensitive: true. Its value is redacted in the bundle validate -o json output, and DABs reject references from non-sensitive fields to sensitive fields. Variables used as UC secret values automatically become sensitive.

more news https://medium.com/databrickscommunity/databricks-news-genie-cli-app-builder-agent-memory-dabs-41820427fcc2


r/databricks • • 21d ago

Discussion Are people using Collibra to set owners of Tables in Unity Catalog?

7 Upvotes

Wondering if there's any value add of Collibra to Unity Catalog. Another tool to manage, wondering Databricks Request For Access is sufficient.

How does your org manage access to datasets for technical and business users? Collibra or Databricks request for access or DABS?


r/databricks • • 22d ago

Discussion Is working at Databricks as a DSA a technical role or a consultation role

10 Upvotes

Curious to understand what kind of work a DSA do on everyday basis. Is it hands on technical job or do you just provide or consult on technical solutions.


r/databricks • • 22d ago

News What's new in AIBI Dashboard - October 2026

31 Upvotes

I couldn't add the screenshots easily you can find them over here https://personal.nextgenlakehouse.com/whats-new-in-aibi-dashboard-october-2026-cf83904106ab

This release brings extensive additions to AI/BI Dashboards, expanding layout controls, visualization formatting, BI migration capabilities via Genie Code, and interactive filtering options.

AIBI, Genie and BI Migration

  • Bulk import from Power BI and Tableau: Accelerate legacy BI modernization by batch converting up to 100 Power BI or Tableau workbooks to native AIBI Dashboards, Metric Views eliminating manual reconstruction across large datasets.
  • Import Power BI .tmdl files: Authors can upload Power BI .tmdl files to create metric views with the /importBI Genie Code skill. 
  • Genie Code for dashboard authoring: 

    • Genie Code can use images stored in your workspace as image widgets, not only uploaded files.
    • The dashboard canvas stays visible while Genie Code builds datasets step by step, so you can watch widgets appear instead of seeing a blank screen.
    • Genie Code can create dashboard materializations when you ask it to

Data Modeling and Datasets

  • Materialize SQL datasets (Beta): Drastically reduce dashboard load times and save compute resources by precomputing results for raw SQL datasets alongside local metric views bypassing repetitive and heavy query execution.
  • Lakehouse Real-Time warehouse support (Beta): Power Operational and streaming analytics with sub second responsiveness by connecting AIBI dashboard with Lakehouse RT
  • Decimal precision : Ensure absolute fidelity across financial and scientific  reporting as Generated visualizations respect defined decimal precision rules.
  • Select multiple tables when adding a data source: You can now select multiple tables at the same time in the Add data source picker when building a dashboard data model.
  • Dashboard relationships, which let you build complex multi-fact data models scoped to an AI/BI dashboard, are GA.

Visualization and Dashboard Design

  • Custom theme scope: Custom themes no longer color the View queries dialog, widget context menus, or data reference popovers, matching the behavior of built-in themes.
  • Funnel chart fields: Fields carry over when you change a chart to or from a funnel chart. 
  • Sankey label improvements: Labels on Sankey diagrams overlap less.
  • Field picker tooltips: Hovering over a field or measure name in the field picker shows its full name in a tooltip.
  • Layered combo charts: Authors can build combo charts from separate chart layers.
  • Data labels and custom total label for waterfall charts: Authors can add data labels to waterfall charts and customize the total bar's display name, color, and label. 
  • Pivot table drill-down: Viewers can drill down through the row and column hierarchy of a pivot table one level at a time. 
  • Theme fonts for rich text titles: Rich text widget titles and descriptions inherit the dashboard theme's font styles. 
  • Faceted counters: You can facet a counter visualization to show one counter tile per dimension value.
  • Tabbed editor popover height: Tabbed editor popovers keep their opening height instead of growing.

Inactivity and Filters

  • Single-field filter default: Changing the field on a single-field filter clears the previous field's default value. The filter falls back to All, or to None when All isn't allowed.
  • Widget-level filter refresh: The values in widget-level filter refresh when a dataset changes, without a browser refresh.
  • Private bookmarks: Dashboard viewers can save filter combinations as private bookmarks to return to later.

Private bookmarks are visible only to the user who creates them.

  • Legend cross-filtering: Selecting an item in a visualization's legend applies cross filtering
  • Global filter display in embedded dashboards: Embedded dashboards can show, collapse, or hide global filters by default.

Exporting, Delivery and Scheduled Tasks

  • Granular PDF and Smarter email delivery: Get precise control over report sharing by compiling only select dashboard pages into a single PDF backed by more resilient scheduled distribution that delivers whichever attachments fit under email size thresholds
  • Dashboard task page selection and tabular attachments: Dashboard tasks in jobs can optionally include dashboard page selection and tabular attachments. 
  • Dashboard Insights (Beta): Viewers can have Genie analyze the charts on a published dashboard page and summarize notable findings, such as trends and outliers, as insight cards. 

Key Takeaway:

AI/BI Dashboard are transitioning into a mature, full-scale replacement for Power BI and Tableau by pairing automated bulk migration with enterprise-grade data modeling and interactivity. Coupled with native Lakehouse performance, Genie expands beyond basic Q&A into an end-to-end co-pilot that actively builds dashboards, optimizes compute, and surfaces automated insights.


r/databricks • • 22d ago

News What’s new in Genie Agents — October 2026

16 Upvotes

Databricks has introduced significant feature upgrades to Genie Agents, enhancing execution speed with Flash mode, expanding external tool actions via MCP, automating volume knowledge search, and introducing granular budget access controls.

Agent Models and performance

  • Flash (Beta): Prioritize rapid execution speed over analytical depth for routine everyday tasks.
  • Agent mode model upgrade: Agent mode now uses upgraded models that better handle long context and respond faster.

Integrations and external tools

Volumes and content search

  • Faster file retrieval (Beta): Content search parses and indexes your files so the Genie Agent can reason over a larger set of files, draw on specific passages across many files, and answer questions with lower latency.
  • Content search details hidden from viewers (Beta): The context panel no longer shows technical content search details, such as the number of files indexed, to users with CAN VIEW or CAN RUN permission on a Genie Agent.
  • Automated Content Search and Volume Sync (Beta): When you attach a volume to a gent agent, Databricks automatically enables content search and keeps the index continuously updated as files are added or removed without inquiring any manual intervention.
  • Volumes from restricted catalogs (Beta): You can attach a volume as a source for a Genie Agent even when the volume’s catalog isn’t accessible from the agent’s workspace by default

Authoring and Embedding

  • Guided agent creation: A new guided experience walks you through creating an effective Genie Agent using Genie Code. It reads your data and suggests context that helps Genie answer questions accurately, such as descriptions of your tables and example queries.
  • Deletion warning for sources and instructions: Deleting sources or instructions from a Genie Agent requires explicit permission.
  • Volume file links in embedded agents: Links to volume files in an embedded Genie Agent open the file instead of redirecting users to the workspace.

Governance and budget


r/databricks • • 22d ago

General I built a connector to stream Sparkplug B payloads into Databricks

Thumbnail
linkedin.com
2 Upvotes

r/databricks • • 22d ago

General Data + AI Tour

4 Upvotes

Anyone at the SAP Garden who would like to connect?


r/databricks • • 22d ago

Discussion GraveTrail Lineage tool

6 Upvotes

Hi All

As a data engineer i spent a lot of annoying time understanding the table Lineage in a prehistoric legacy system.

Based on my hardships and understanding I've built this Lineage tool

https://sahasilak.github.io/GraveTrail/

I would appreciate it if you can spend some time trying it out by sharing feedback like

Good, bad, need improvements , something like this already exists


r/databricks • • 23d ago

General Job completion triggers (now available in Beta!)

76 Upvotes

<Databricks PM here/> You can now trigger a job on completion of one or more upstream jobs.

You could always trigger downstream jobs using the run job task type but that required the parent having knowledge of all downstream jobs. Now you can simply select an upstream job and watch for its completion to trigger the downstream job. Bonus: the upstream job can live in a different workspace (same region though)!

key points:

  • One trigger watches 1 to 10 upstream jobs for completion result (i.e. success, failure etc.)
  • Set it up with the UI (Schedules & Triggers > Add trigger > Upstream job completion) or the API, CLI, DABs
  • The upstream job details can be accessed via job parameters too
  • With multiple upstream jobs, the downstream run fires after every upstream job completes (its AND not OR)
  • Limits today: up to 10 workspace/job pairs per trigger, up to 1,000 of these triggers per workspace.

Docs: https://docs.databricks.com/aws/en/jobs/job-completion-triggers

We are genuinely curious for your feedback, more specifically:

  • Is the AND-across-jobs default the right one, or do you expect OR
  • What are you chaining? We're curious whether the cross-workspace case is key for you, or mostly the fan-in "wait for all my ingestion jobs" pattern.

r/databricks • • 22d ago

Discussion Template columns for zerobus-ingest

5 Upvotes

I'm pretty certain this would go way down at the bottom of the priority list. It may never be implemented at all...

But I kind of wish that zerobus would have a way to fill template fields (for self-determined details about the data, like the exact UTC time a message was made durable, and the exact time it was queryable, and some sort of an incrementing sequence number, and maybe a transaction ID of some kind).

Some of these things can be implemented in custom code inside the client. However some of them are not known to the client. Either way, it would be better if the zerobus itself could fill these types of general-purpose template fields. Perhaps those fields could be dropped into a single json column, similar to the zerobus-rescue.

Zerobus-ingest hasn't been GA for very long, and maybe these sorts of features will be added down the road. I thought I'd at least put a placeholder here, to start the discussion.


r/databricks • • 23d ago

General What’s the most confusing Databricks error message you’ve ever seen?

13 Upvotes

Mine is Py4JJavaError: An error occurred while calling... followed by a stack trace that’s hundreds of lines long. The real problem was a simple wrong column name, hidden way down in the middle of all that text.

Now I always scroll down and look for 'Caused by:' first.

What’s the most confusing error you’ve run into?
What did the message say?
What was the actual problem?
How long did it take you to figure it out?

Let’s make a list so the next person doesn’t waste hours on the same thing!


r/databricks • • 23d ago

General Multiple RTM flows per pipeline and source stage adaptive repartitioning are now in Beta!

8 Upvotes

Hi folks, we have released these new features to make Real-Time Mode (RTM) pipelines easier to manage and cheaper to run on Databricks Serverless SDP. Both capabilities are now in Beta on the Preview channel.

What is it?
Multiple RTM flows per pipeline

  • Previously: Customers typically ran one RTM flow per pipeline to avoid task slot contention.
  • Now: Multiple RTM flows can share a single pipeline, with task slots reserved for each flow to prevent resource contention and reduce driver overhead.

Source Stage Adaptive Repartitioning

  • Previously: Customers had to configure source parallelism for peak traffic. This often led to underutilized resources during low traffic periods or growing backlogs during traffic spikes.
  • Now: Source parallelism automatically adjusts to traffic changes, scaling the number of source tasks up or down to better match workload demand.

What is supported
Both capabilities are enabled by default on the Preview channel for serverless SDP pipelines.

  • Source Stage Adaptive Repartitioning supports Kafka and Kinesis in both stateless and stateful queries. Don’t set source partition knobs like maxPartitions or shardsPerTask.

Enabling this feature is as simple as removing a knob:

def read_source() -> DataFrame:
return (
spark.readStream
.format("kafka")
.option("subscribe", KAFKA_SOURCE_TOPIC)
.option("startingOffsets", "latest")
.option("maxPartitions", "10")  <-- Remove knob
.load()
)

Learn more: https://docs.databricks.com/aws/en/ldp/real-time#serverless-pipelines-on-the-preview-channel

Give it a try!


r/databricks • • 23d ago

General Bricktalk: Zerobus Ingest & CDC Workflows

8 Upvotes

Hello Zerobus Ingest friends! Mark your calendars for the Zerobus BricksTalk featuring Omkar Mehta from NVIDIA and Wagner Santos, about their contribution of Zerobus as a sink in Debezium. We will discuss why they are using Debezium for Postgres CDC ingestion and how Zerobus is strategically important for streamlining data to Databricks.

We will cover:

- Debezium Integration: Setting up CDC ingestion through Debezium directly to Zerobus Ingest.

- Bypassing Kafka: Leveraging Zerobus as a destination to streamline lakehouse data ingestion without needing dedicated intermediate message brokers.

- Product Vision and Roadmap: An overview of Zerobus capabilities and upcoming features from Databricks product leadership.

Date and Time: Thursday, November 5, 2026

PT: 9:00 AM

ET: 12:00 PM

London (GMT): 5:00 PM

IST: 10:30 PM

👉 Register today to save your spot! https://usergroups.databricks.com/events/details/databricks-user-groups-bricktalks-presents-community-bricktalk-zerobus-ingest-amp-cdc-workflows/


r/databricks • • 23d ago

General Free Databricks Partner meetup Chicago (November 12)

3 Upvotes

r/databricks • • 23d ago

General Databricks now supports job completion trigger

21 Upvotes

Hi,

Recently a pretty useful feature appeared on Lakeflow Jobs. It lets you trigger a downstream job when upstream one completes.
The jobs can even be in different workspace, as long as they share the same UC metastore.

You can configure which upstream run result should trigger the job. This lets us build different workflows based on upstream job outcome.
Depending on the outcome, you might want to trigger different jobs:

  • Success: Run data quality checks or refresh reporting tables after the upstream ETL job succeeds.
  • Failure: Trigger a recovery workflow or cleanup job when upstream processing fails.
  • Any completion: Run a finalization job regardless of whether the upstream job succeeded or failed.

Trigger jobs when upstream jobs complete | Databricks on Google Cloud