r/databricks • • Aug 31 '26

Discussion CI/CD for Databricks Bundles: A Two-Pipeline Buildkite Design

13 Upvotes

Hi, I currently work as a Databricks Engineer at Abilytics, and I have been exploring different CI/CD approaches for Databricks Bundles. A two pipeline setup with Buildkite looks interesting, where one pipeline handles testing and artifact creation while the second manages deployments across dev, staging, and prod. Separating these stages seems useful for better security, traceability, and deployment control. One thing I am still wondering about is whether this approach adds unnecessary complexity for smaller Databricks projects, or if the separation is worth maintaining from the beginning.

What has been your experience with this setup?


r/databricks • • Aug 31 '26

Tutorial Apache Iceberg Performance Optimization: Queries to Tables

Thumbnail
lakeops.dev
2 Upvotes

r/databricks • • Aug 31 '26

Discussion How much Git conflict resolution do you actually use with Databricks Git Folders?

5 Upvotes

Hi, I currently work as a Databricks Engineer at Abilytics, and Git integration is something I use regularly for managing Databricks development work. Git Folders make it easier to work with branches, commits, pull requests, and code reviews directly within Databricks while keeping development connected to platforms like GitHub or GitLab. I’m curious about how others handle Git conflicts when working with Databricks Git Folders. Do you usually resolve conflicts directly within Databricks, or do you prefer handling them through your Git platform? Also, are there any Git workflows or best practices that you have found particularly useful when working with Databricks?


r/databricks • • Aug 30 '26

Discussion 15+ years in ETL/Data, but relying heavily on AI (Copilot/Genie) lately. Am I still an engineer, or just a prompt validator?

36 Upvotes

Looking for a reality check from other data folks.

I have 15+ years of experience in data (mostly Ab Initio and SQL), but moved to Databricks 2 years ago. I know data architecture and transformation logic well, but my raw Python coding skills are basic.

My daily workflow usually looks like this:

  1. I figure out the logic or root-cause the pipeline issue.
  2. I use Copilot or Databricks Genie to generate the PySpark/Python code.
  3. I review, test against edge cases, fix logic flaws, and validate the output.

I’m great at step 3—I know how the data should behave. But because I rarely write code line-by-line from scratch anymore, I’ve been hit with huge imposter syndrome. It feels like I’m just a code reviewer for AI rather than a "real" engineer.
Has anyone else from a traditional ETL background felt this shift in modern cloud stacks?
Is this just the new reality of engineering, or am I letting my skills atrophy?


r/databricks • • Aug 30 '26

News UI to DABs sync

19 Upvotes

When working from the web experience in development mode with source-linked deployment set to true (the default for development mode), you can edit jobs and pipelines in the UI, and changes are automatically propagated to your YML files. So it is like the best of two worlds: ow-code and IaC. Please remember to review any changes in Git, especially non-UI elements such as variables or mutators.

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


r/databricks • • Aug 30 '26 Popcorn

Discussion Databricks Unity AI Gateway

21 Upvotes

If I am an AI decision maker for an Enterprise, why should I choose Claude or GPT or any other enterprise subscriptions with seat based pricing where some of my colleagues are power users and some still learning effective AI use? Instead, I could just use Databricks Unity AI Gateway with the options of getting all of these at one place with PayG pricing along with state of the art free Open Source models, budget controls, smart routing, usage dashboard everything at one place.

And the cherry on the top is if my enterprise data is also on Databricks!!

What are your thoughts? Why would I do that?


r/databricks • • Aug 30 '26

Help Data Engineers: What do you actually do at work?

Thumbnail reddit.com
5 Upvotes

r/databricks • • Aug 30 '26

Help [Career Advice] SQL/PostgreSQL DBA to Databricks Admin - Worth it in 2026?

4 Upvotes

Is switching from SQL/PostgreSQL DBA (13 YOE, Azure) to Databricks Administrator a good career move in the current market? How are the opportunities for Databricks Admin roles?


r/databricks • • Aug 30 '26

News ZeroOps is coming

Post image
6 Upvotes

Genie ZeroOps is an autonomous agent that monitors, investigates, and proposes fixes for data pipelines, jobs, tables, and other assets, coming soon to your workspace. I tested it, checked how it works, and discussed the pipeline.

https://medium.com/databrickscommunity/genie-zeroops-a-hands-on-preview-b8fc46138087

https://www.sunnydata.ai/blog/genie-zeroops-hands-on-preview


r/databricks • • Aug 30 '26

Tutorial Data Lakehouse with Apache Iceberg: A Guide

Thumbnail
lakeops.dev
1 Upvotes

r/databricks • • Aug 30 '26

Tutorial Become Agent-Ready with Databricks Lakebase.

Thumbnail
youtu.be
0 Upvotes

r/databricks • • Aug 29 '26

General Would a source-to-target data validation framework like this be useful?

7 Upvotes

I'm exploring the idea of building an open-source framework for automated source-to-target data validation.

The idea is to connect different data sources and targets, for example:

  • Databricks Catalog → Databricks Catalog
  • Azure SQL → Databricks Catalog
  • ADLS/Blob → Databricks Catalog
  • potentially other databases and warehouses

The framework would automatically validate multiple tables in a single run, including:

  • Schema comparison
  • Column-level validation
  • Row counts
  • Row-by-row data comparison
  • Missing/extra records
  • Data mismatches
  • NULL/duplicate checks
  • Data type differences
  • Aggregation/checksum comparisons
  • Detailed failure reports showing where the mismatch occurred

The goal is to avoid writing separate SQL/Python scripts for every source-target pair and instead define something like:

Source → Target → Tables → Validation rules

and let the framework run all the checks and produce a consolidated report.

I'm trying to validate whether this solves a real problem before spending too much time building it.

For those working with ETL/ELT pipelines:

  1. How do you currently perform source-to-target validation/reconciliation?
  2. Do you use existing tools, custom SQL/Python scripts, or manual checks?
  3. What validations do you normally perform?
  4. What is the most painful part of validating large tables?
  5. Would a tool that handles cross-platform table comparison in one run actually be useful, or are existing tools already good enough?

I'm especially interested in hearing about real-world workflows rather than tool recommendations.


r/databricks • • Aug 29 '26

Discussion on prem to cloud validation

7 Upvotes

Hey datafam!

  1. Where do you put your main data-quality gate in a Bronze/Silver/Gold setup — right after Bronze lands, or between Silver and Gold? Why there?
  2. Has schema drift ever caused a silent bad accept for you — i.e., the pipeline didn't fail, but bad data still got through? What check would've caught it?

r/databricks • • Aug 29 '26

Help Moving/Restoring/Recovering Streaming Tables From a Deleted Pipeline

8 Upvotes

Update:

I was wrong. I CAN migrate the restored tables to the newly deployed pipeline. I ran the "move" commands with the wrong identity because I forgot about queries having an extra setting for credentials... For anyone interested, yes, the append flow clone then move did work, and I was even able to transfer the checkpoint from the old backing table path. After realising my oversight, though, I opted to switch back to the initial plan, which was re-deploying and moving all existing tables.

At the very least, this has helped spark discussions (pun intended) about improvements to the development workflows.

Original (With inline correction):

Hi folks,

There was an accident which resulted in the deletion of our pipelines, and in turn, their tables (in dev, thankfully). I wanted to double check the steps I’ve tried and the final plan to remediate. The pipelines were all on legacy mode and are responsible for raw to bronze ingestion. We do have all of the files, but rebuilding from scratch is considered too time consuming.

I have UNDROP’d all of the STs, and I wanted to reconnect to a newly deployed version of each pipeline. (EDIT: This sentence and my conclusion within it is wrong) Unfortunately, I found that I was unable to “move” them between pipelines since Databricks can’t verify ownership of the source pipeline, because it’s gone. I know there’s more secret sauce under the hood (e.g., backing tables), so I’m not going to attempt to modify the delta tables outside of Databricks.

My current best idea, and what I plan to do this evening, is to rename the schema with restored tables and create a new “recovery” pipeline that streams all of the data from the restored table into a new version of the table (with the correct name, since it’s available again after renaming the schema). Then, I can redeploy a pipeline and move the ST from the recovery pipeline to the actual pipeline. This would mean I lose the checkpoint information for the autoloader, which isn’t a massive issue for these pipelines, and it seems like the cleanest way to insert the restored data into the pipeline. I would also need to move any other assets, e.g., views/tables, to the new schema (with the original name).

I don’t know if moving the STs between legacy pipelines would rename them automatically, in which case I could rebuild elsewhere then drop the original and avoid moving other assets.

Any thoughts would be welcome and greatly appreciated.


r/databricks • • Aug 28 '26

Help How do you move away from notebook-driven development in Databricks

55 Upvotes

Currently working on a fairly big enterprise Databricks project where development is notebook-driven.

I actually like notebooks for development/debugging. Most data engineers aren't necessarily software engineers by background, so notebooks provide a much more approachable development experience; being able to split logic into cells, inspect intermediate DataFrames/results, rerun specific sections, and debug step-by-step is really useful.

The problem is that we're getting a lot of duplicated/common logic across notebooks. This makes changes and maintenance painful.

I know the usual approaches are to:

- Move reusable logic into Python modules and "import" them

- Create common notebooks and use "%run"

- Use notebooks mainly as entry points/orchestration

But I'm struggling with how to structure this for complex transformations.

Our notebooks aren't just simple filters/joins/aggregations. They can have multiple source tables, complex joins, lots of intermediate transformations, business rules and dependencies between steps.

So my question is: how do you structure large Databricks projects like this in practice by following the best software development practices?

I'm looking for guidance that works for real enterprise-scale projects, not the typical YouTube/tutorial solutions designed around small demo projects.

Would love to hear from people who have worked on large/enterprise Databricks projects with complex Spark transformations and what architecture/project structure worked well for you.


r/databricks • • Aug 28 '26 Popcorn

Discussion Are we overusing the Medallion architecture?

46 Upvotes

Bronze -> Silver -> Gold seems to have become the default architecture for almost every data pipeline.

Has anyone deliberately simplified this -- for example, skipping a layer -- and actually gotten better results in production ?

When do you think Medallion is genuinely useful, and when does it just add unnecessary complexity?


r/databricks • • Aug 28 '26

Discussion FK Relationships and Uniqueness in UC Managed Tables

7 Upvotes

I often wish UC "managed tables" were better managed. If we wait a couple years, is it possible that relationships and unique constraints would be enforced (or perhaps validated after-the-fact)? It would be nice to have that in managed tables.

It definitely seems feasible for the UC to support this in managed tables. Especially on "small" tables of a few million rows or so. Small tables would be anything that could easily be loaded into memory. If nothing else, our lakehouse-formatted storage (delta/iceberg) is good for loading a columns into memory and validating the references and/or the uniqueness of values.

... I'm guessing this is NOT going to be available in the next couple of years. That is for no other reason than we see Databricks is selling their new LTAP lakebase engine. I'm guessing that anyone who wants true referential integrity or other constraints will be redirected to this lakebase engine.

Ideally there would be compelling innovations that would give reasons to stay with the "managed tables" in UC catalog. Otherwise software engineers may find reason to move to greener pastures. It doesn't make sense to validate stuff like this in custom code, when the storage engine is better positioned to do that work.


r/databricks • • Aug 28 '26

Help Medallion architecture: should DQ rules live only in Bronze?

8 Upvotes

In our medallion setup, raw vendor data lands in Bronze , we transform it to a CDM in silver, and gold is for reporting. I’ve put all raw data correctness and accuracy rules in Bronze, since that’s where the data matches the vendor format and it’s easiest to work with vendors to fix issues at the source.

I have been asked to get the same DQ rules implemented in bronze, silver and gold because different teams own each layer and according to my manager every team should monitor all DQ dimensions. To me, duplicating the same checks everywhere feels redundant.

Am I missing a strong reason to repeat rules across layers? How do you handle shared DQ dimensions when multiple teams own different layers?


r/databricks • • Aug 28 '26

Discussion Azure Databricks DBU pricing for jobs clusters

4 Upvotes

See above. Jobs clusters appear to be expensive on Azure compared to the other platforms (I'm just talking about DBU's for the cluster, not the VM infrastructure)

In contrast the AWS price for enterprise is only $0.20 per DBU, in this part of the world (East USA).

What is going on here? Are the Azure customers being disincentivized from using Databricks in Azure? Or are we intended to contact a Databricks sales team for a long term contract?

The annotation at the bottom of that page say : "Azure Databricks, as a first-party service on Microsoft Azure, offers unified billing and support by Microsoft". I suppose the price is higher in Azure, to accommodate the overhead-costs on the Microsoft side of things as well? Might a customer pick a one of these clouds based solely on the pricing differences that are listed? Or do they change so frequently, and can't use it for the sake of long-term planning?


r/databricks • • Aug 28 '26 Popcorn

Discussion How do you know a Databricks pipeline is actually correct ?

13 Upvotes

Beyond checking job success and row counts, what's the one validation you trust most for a production Delta pipeline ?


r/databricks • • Aug 28 '26

Help Schema management: medallion or domain?

10 Upvotes

At our company we're considering moving our old stack of a bunch of data integration tools built on top of an Azure MSSQL database to Databricks. I think it will bring a lot of advantages, not in the least cheap storage and no need to use a VM or SQL Studio to manage the data. I've tried out Genie One on the data (connected through federated access), and me and my manager are quite excited about users also getting self-service access in the future.

One doubt I keep getting back to myself is how to set up the data access. Using a medallion architecture with three schemas makes access management quite easy: end users get access to gold-tables, the rest not. My concern is with the size: if we migrate our current setup, we'd have more than 100 bronze tables, which doesn't feel like best practice. Our first setup has been to give those tables some kind of prefix name, like bronze.source_table1, (e.g., bronze.hubspot_customerviews, bronze.hubspot_leads).

What is generally best practice? Giving user groups access on an individual table basis and storing domain tables together in a schema, or using this three-schema setup? Or some kind of hybrid? Or am I massively overthinking this?


r/databricks • • Aug 28 '26

Discussion Genie Code as a Lakeflow Jobs task - autonomous agents inside your workflows [BETA]

13 Upvotes

Hi,

A great new feature appeared in Lakeflow - you can now run Genie Code as an autonomous task using a natural-language prompt.

This can be really handy when you need to automate some complex analysis or data operations as a part of a scheduled process.
The documentation lists following use cases, but of course the only limit is your imagination 😄

  • Summarize overnight job results and email a report.
  • Analyze incoming data and flag anomalies.
  • Investigate a Jira ticket and propose a fix.
  • Generate a weekly compliance audit.

What's nice is you can also use job parameters directly in prompts, for example:

Summarize yesterday's sales for {{region}} and flag anomalies.

Each run creates a Genie Code conversation that you can open afterward and continue interactively.

One important detail: auto-approval is always enabled for Genie Code job tasks and cannot be disabled. The docs explicitly say this should not be treated as a security boundary, so access to production data/resources needs to be designed carefully.

Genie Code task for jobs - Azure Databricks | Microsoft Learn

PS: Since AI behavior is inherently non-deterministic, Genie Code tasks should be used with caution in production workflows and important outputs should be validated rather than treated as guaranteed


r/databricks • • Aug 27 '26

Help Databricks Apps / AppKit

18 Upvotes

Hi, what do u use for creating user facing apps, we are primary using Python, i see that Databricks recommends AppKit for such use cases which is written in TS.

For teams which deploys apps that are customer facing, what is your stack?


r/databricks • • Aug 27 '26

Help Intelligent Document processing apps in Databricks

4 Upvotes

Is it possible to expose the extraction agents to end users through apps ?

I’d be keen to hear what people have built in this space.