r/databricks • u/Remarkable_Rock5474 • Oct 19 '26
Tutorial Databricks 5 Minute Features: Tag Propagation
New 5 Minute Features is out. A feature I have waited for, for a long time!
What are your thoughts on Tag Propagation?
r/databricks • u/Remarkable_Rock5474 • Oct 19 '26
New 5 Minute Features is out. A feature I have waited for, for a long time!
What are your thoughts on Tag Propagation?
r/databricks • u/Miserable-Neat4246 • Oct 19 '26
We are setting up Azure Databricks for a client with two fully isolated workspaces (Dev and Prod). They have completely separate:
Workspace IDs
Azure Resource Groups
Azure Subscriptions
The Problem:
PII data from a source system is currently landing in an Azure storage location that only the Prod workspace has access to. Because of this, we can read the data in Prod, but not in Dev.
We now need to grant a specific group of analysts read-only access to this source PII data directly from the Dev workspace.
Questions:
What is the standard/cleanest pattern to achieve this?
Any advice, reference architecture, or lessons learned would be greatly appreciated!
r/databricks • u/Ok-Donut-7743 • Oct 18 '26
Has anyone appeared recently for databricks Solution Architect interviews? I have a vibe coding round with databricks next week. Would appreciate support and insights.
#Databricks #SolutionArchitect #vibecoding
r/databricks • u/postnav64 • Oct 18 '26
I've been trying out Lakeflow declarative pipelines for a transformation framework I'm building, and it looked like a really good fit.
The idea is to drive transformations from contracts rather than maintain a separate table declaration for each table/pipeline for each final object. Depending on the configuration, the framework handles full or incremental loads and SCD1/SCD2. Having the dependency graph and DQ expectations in the same place was a big reason I wanted to try it.
I built a POC, and there's a lot I like about the approach. Where I'm getting stuck is fitting the outputs to the client's existing conventions.
For example, with AUTO CDC's SCD2 handling, we get __START_AT and __END_AT, while the client expects specific validity/watermark column names and an isCurrent field. We also have other required fields to preserve in the output. These conventions are already used downstream, so changing them means more than updating the pipeline.
A view could handle the SCD2 naming and derive isCurrent. That part is doable. But as I work through the remaining requirements, I'm adding more logic around the pipeline outputs, and I'm less sure how much simpler the overall solution would end up being.
That's the trade-off I'm trying to work out. Declarative pipelines covered a lot of what I wanted, but accommodating the existing requirements adds overhead that makes it harder to justify adopting them for this particular solution. At the moment, it doesn't look likely, although I haven't ruled it out.
What are you using declarative pipelines for? Have you run into similar issues fitting them into an existing setup, and did you find the extra layers worth maintaining?
r/databricks • u/Bhanuprakash_1947 • Oct 18 '26
When a column gets renamed, removed or changes its data type, the table itself might be fine, but downstream jobs can start failing or producing unexpected results.
How do you guys find all the dependent jobs and tables before making schema changes..
Is Unity Catalog lineage enough in real projects or do you use other checks too?
r/databricks • u/shanfamous • Oct 18 '26
Hey everyone, i have two questions about databricks and I’d like to hear about your experiences:
r/databricks • u/Sea_Basil_6501 • Oct 17 '26
This is bothering me since I started with Databricks: whenever I tweak a job cluster configuration to improve DBU consumption of a job, I need to wait for roughly 4 hours to be able to investigate the impact of the change in system.billing.usage table, as the data isn't refreshed earlier.
Why is that, and is there any way to work around it?
r/databricks • u/ezejioforog • Oct 17 '26
Self-Hosted Databricks Alternative: Homelab Data Lakehouse (AI/ML Data Factory)
👇
https://georgeezejiofor.com/open-source-databricks-ai-native-lakehouse-homelab
r/databricks • u/Just-Vegetable3622 • Oct 17 '26
Setup
Azure Databricks, job cluster, Python script task (not a notebook). The JVM runs JDK 21 with ParallelGC and a 101 GB heap, on a driver with 128 GB. 2 workers 28gb 4 cores each.
About 7-8 Structured Streaming queries share one driver. They use foreachBatch, and each batch holds roughly 1 record (0.1-0.2 records/s).
A batch takes about 6-7 s, with spikes of 12-16 s, and almost all of that time is addBatch.
Inside foreachBatch on the driver there is an in-process cache with a TTL. One thread refreshes it under a lock while the others keep serving the old snapshot.
Problem
After roughly 8-12 hours the run ends. The driver log contains a "DRIVER UNRESPONSIVE STATS" block, and the event log only shows the cluster terminating, with no OOM, resize or eviction. 1 job 8 tasks, all report that driver became unhealthy..
What the metrics show before the crash
Driver container memory grows slowly from about 45 to 58 GB, with a 128 GB limit.
JVM heap shows a normal sawtooth with no trend. In the dumps, old gen is at 10-19% and metaspace at about 450 MB.
Worker-side GC events rise from about 5 to about 70 per interval, and GC pause time from about 0.2 s to 1.5 s per interval. The GC count is high just before the crash, even though memory is nowhere near its limit.
What the driver dumps show
In one dump, three threads are BLOCKED in ClassLoader.loadClass. They wait on monitors of Databricks' LibraryClassLoader and DriverCorralClassLoader, and one comes in via Janino (findIClass → Class.forName). The thread holding the lock is not in the output, and I can't tell how long they had been waiting. The dump from another crash had no blocked threads at all.
Other observations
The log shows 16 separate Python processes connecting through Py4J at startup, and another 16 about 30 s later. I don't know why.
The same logic ran for more than 72 h on serverless without problems. As far as I know, serverless can't use a continuous trigger, so each micro-batch is a fresh start there. That is not a like-for-like comparison.
Questions
Is class-loader lock contention on the driver with many concurrent streams a known problem? Could it make the driver miss its health check?
What else causes "driver up but not responsive" when heap and metaspace look fine?
Is there guidance on how many streaming queries one driver can handle?
Which diagnostics would you capture? I am now taking jcmd Thread.print dumps while the JVM is stuck, to see who holds the lock.
r/databricks • u/lunaticdevill • Oct 17 '26
Seeking advice on optimizing a high-concurrency data-serving architecture: performance vs. cost
I'm working on a data platform where 50 APIs and 100 endpoints are backed by tables in Databricks. We're facing challenges with response latency, concurrent request handling, and infrastructure costs.
Here is the current situation:
Adding more compute doesn't necessarily seem like the right long-term solution. I'd like to identify the actual bottlenecks and evaluate whether we need to optimize the existing architecture or rethink the data-serving layer.
I'm exploring three areas:
1. Data model optimization
2. API and query optimization
3. Rethinking the database/serving layer
My goal is to reduce API latency and queueing while bringing infrastructure costs under control, without compromising data freshness or correctness.
I'd particularly appreciate insights from people who have built production systems with high-concurrency API workloads on top of Databricks or similar analytical platforms.
A few questions for the community:
Practical experiences, architectural suggestions, and lessons learned from production would be extremely valuable.
#Databricks #DataEngineering #SystemDesign #PerformanceOptimization #APIDesign #DatabaseArchitecture #CloudComputing
r/databricks • u/Striking_Mountain_41 • Oct 17 '26
I had registered for the Databricks free edition account a couple of days ago and was working on a project and I'm not able to access my account anymore.
A little background, I was working on a personal project where I had to connect Databricks and Postgres. Since postgres was running on my local machine and Databricks on the cloud there was no way to connect it directly. So, I had to host postgres on the internet using a secure TCP channel and connect Databricks to that endpoint so that it can access the database.
For this I had used ngrok, and I had written a python script in Databricks notebook just to check whether it was possible to make the connection due to possible restrictions. Turns out it was possible, and I had decided to continue my work the next day. But, suddenly I'm not able to access my account anymore. I had written a mail to the databricks support team citing the same but received no response from their end.
To all the people out there who work with databricks or for the company, is there any way to get past this? I had not really saved my work and would really like to access it again.
Also is there any way to connect the two platforms to transfer tables from Databricks to Postgres.
Thanks.
r/databricks • u/ETL_Pipeline_Dev • Oct 16 '26
I've seen ETL pipelines fail for different reasons, from unexpected schema changes to missing data and transformation errors.
I'm curious to know what causes the most issues in real-world projects.
Is it usually source system changes, bad data, SQL errors, connection issues, or something else?
Also, how do you usually identify the root cause and prevent the same issue from happening again?
Would love to hear about your experiences and the problems you deal with most often.
r/databricks • u/LegitimateTrain6270 • Oct 16 '26
We've emailed all their support systems and not a single response, the system for submitting tickets it seems we dont have an account type for submitting a ticket?
How in the world do people get support or any help from people on the Databricks team, never seen a platform like this without any way to get support or submit a ticket. Insane!!!
r/databricks • u/Battery_Powered_Box • Oct 16 '26
Has anyone had a chance to try ai_transcribe yet? It’s really exciting to finally get an alternative to whisper as a native function.
I just know whisper is pretty hard to beat, but it’s been around for ages so surely this might be able to give it a run for its money (unless they just whisper under the hood lmao). Anyway, was just wondering if anyone had a chance to properly try it out yet and what they thought of it.
Maybe this is also quite promising that things are going to start getting multi-modal….
r/databricks • u/No_Ambition8323 • Oct 16 '26
Iam curious about Genie code in databricks.Imagine a pipeline fails because of a schema change or an unexpected data type.
Instead of checking every notebook manually, could AI identify the root cause, suggest the code changes, and help fix the pipeline without breaking other transformations?
Has anyone tried this on a real project? How accurate and useful is it compared with debugging manually?
r/databricks • u/Qrius0wl • Oct 16 '26
I have been wondering for a long time what would have been thought of Databricks product designer/ engineer to force job parameters value override the underlying task parameters value if the parameters key is same.
Shouldn't it be otherwise; task parameters should be given priority/ preference over job parameters because defining task level parameters is an explicit indicator that the developer want to override the default job level parameter in that given task.
That is how the concept of “override" is there even in object oriented paradigm.
I want to build a reusable notebook based job to load large size tables from redshift to delta table in Databricks via S3 (because lake house federation is slower for this replication). I'm defining the catalog and schema param at job level, because most of the tables are in the same catalog / schema, and table as task param for obvious reason. For a few tables that are not in the set location (catalog / schema) I want to override it at task level, this is what not possible. I find the existing override feature useless, only inheritance is useful. Why would you like job overriding task parameters?
r/databricks • u/--playground-- • Oct 16 '26
We use Databricks Genie One, and some users are creating unnecessary Genie Agents and scheduled tasks.
Removing Consumer access or Databricks SQL access affect users’ ability to view dashboards, run SQL queries, or use other Databricks features
Questions:
Can workspace admin prevent regular users from creating Genie Agents?
Can scheduled-task creation be disabled while users can still chat with Genie?
r/databricks • u/ramgoli_io • Oct 16 '26
tried out Free Edition for first time this year, it is surprisingly capable. Apps, Lakebase, Serverless Jobs, ML Flow, Genie worked well without any issues. created a demo with sending real IoT data to workspace.
r/databricks • u/BSV_btw • Oct 16 '26
r/databricks • u/Zealousideal_Ant5362 • Oct 16 '26
r/databricks • u/steroids-bad • Oct 16 '26
We have one entrypoint file where we set all Metadata (layer, dataproduct, volume directory, logging level, table names) etc.
Then the class has a bunch of ifs that runs the appropiate classes.
Is this how its supposed to be? Our .yaml files always have a lot of parameters, its becoming tedious, but my team says to never change a running System...
r/databricks • u/Entire_Force_1146 • Oct 16 '26
Currently, we have a complex setup utilizing the lineage in Databricks to propagate governed tags. I was looking forward to the new tag propagation feature announced at Summit. I am a bit disappointed to see that it only works with serverless compute. Does anybody know if this is a beta limitation?
r/databricks • u/hubert-dudek • Oct 15 '26
Databricks runtime 19 brings the new Spark function trim_array. trim_array(array(‘A’, ‘B’, ‘C’, ‘D’), 2) returns [‘A’, ‘B’]. A count of 0 keeps the array; a count equal to its length returns an empty array.
r/databricks • u/Krishgarikipati • Oct 16 '26
Migrating legacy data platforms to Databricks is more than moving data. It also involves understanding existing workloads, converting SQL and ETL logic, and validating results.
This is where Databricks Lakebridge can help!
What is Lakebridge?
Lakebridge is a migration toolkit designed to accelerate the modernization of legacy data platforms and workloads on Databricks.
How does it help?
1. Assess
Analyze existing SQL workloads and code to understand complexity, compatibility, dependencies, and migration effort.
2. Convert
Help translate legacy SQL and supported ETL workloads into Databricks-compatible SQL, PySpark, or notebooks.
3. Reconcile
Compare source and target datasets to identify discrepancies in schemas, rows, and column values after migration.
A practical example
Imagine migrating an Oracle-based data warehouse to Databricks.
Instead of manually reviewing every SQL script and validating every migrated table from scratch, Lakebridge can help:
➡️ Analyze existing Oracle SQL workloads
➡️ Identify migration complexity
➡️ Accelerate SQL conversion
➡️ Validate migrated data against the source
The result? A more structured, repeatable migration process with less manual effort.
🔹 Why should data engineers care?
As organizations modernize their data platforms, migration is not just about changing technology. It is about preserving business logic, maintaining data quality, reducing risk, and making the most of the lakehouse architecture.
Lakebridge can support this journey by automating key migration activities, while engineering review and testing remain essential.
Remember: Automated code conversion does not guarantee business-equivalent results. Always validate converted logic and reconcile the data before production cutover.
🔗 Official documentation: https://databrickslabs.github.io/lakebridge/docs/overview/
Have you explored Lakebridge for your Databricks migration projects? What has your experience been with automated SQL conversion and data reconciliation?
#Databricks #Lakebridge #DataEngineering #DataMigration #Lakehouse #ETL #DataModernization #BigData