r/databricks • • 18h ago

Tutorial Zero-Copy Data Lakehouse: A Guide

Thumbnail
lakeops.dev
2 Upvotes

r/databricks • • 6h ago

Help Hitting with a Lot of Limitation

4 Upvotes

I perviously worked using Airflow and if you there is really simple less complext way for setting up cross dag dependencies using Datasets.

But when it comes to Databricks I dont see such option either you have to go with Job trigger which I consider bad design cause if you are deploying things through DAB's cross bundle dependecies or reference doesnt exist.

Table update trigger is also same its not replacing the Datasets.

File trigger seems like overkill.


r/databricks • • 1h ago

General Making ETL into Apache Iceberg Tables fully inter-operable (readable by every engine/warehouse)

Post image
2 Upvotes

r/databricks • • 2h ago

Help Databricks feature request: database connections sync with Unity Catalog secrets (external sync with Azure Key Vault)

3 Upvotes

Sincere request to Databricks team to have connection objects to external system of records e.g. MS SQL Server sync with Unity Catalog secrets that are backed by Azure Key Vault (the one where your UC Schema has an Azure Key Vault connection).

This would allow our team to not have to write a custom script to patch a connection object once a secret is rotated.


r/databricks • • 7h ago

Discussion How we keep bad rows out of silver: stewards write the rules, an owner approves them, and DQX splits the data

4 Upvotes

Most data quality checks I see are code inside a pipeline. The steward who knows the rule cannot change it, and the engineer who can change it does not know the rule.

I tried a different set-up on Databricks, built on Databricks Labs DQX:

- The steward profiles a bronze table in the app. The profile suggests rules to start with.

- Rules can also come from one sentence to the AI, or from ready-made packs (I added 50 Singapore rules: NRIC, FIN, UEN, postal codes, phone numbers, GST).

- A data owner approves each rule. Only approved rules run.

- A serverless job runs as one service principal for each agency, with access to its own catalog only. DQX splits the rows.

- Error rows go to quarantine only. Warning rows go to silver, and a copy goes to quarantine. Each quarantined row keeps the reason.

- A Databricks SQL alert emails the team after a run with bad rows.

In the demo run: 180 rows read, 170 to silver, 10 errors, 20 warnings.

Two things I learned: warnings are as useful as errors, and checking the service principal's access before the run saves a lot of half-failed runs.

How do you handle rows that fail your checks? Drop them, quarantine them, or stop the pipeline?


r/databricks • • 8h ago

General Now available in all regions ... try MV/ST on Serverless GC!

Thumbnail
docs.databricks.com
13 Upvotes

<databricks_pm/>

Hi folks, wanted to share a recent update to our notebooks and jobs on serverless GC. You can now create materialized views and streaming tables on any notebook running serverless GC across all regions! If you prefer the notebooks form factor over the pipeline editor / want to intermix imperative and declarative ETL, give it a whirl!

Docs are linked here!


r/databricks • • 16h ago

Discussion Unity Catalog naming strategy for shared corporate data

11 Upvotes

Hi everyone,

I’m defining our Unity Catalog naming strategy and would appreciate some feedback.

We have a central corporate data workspace responsible for ingesting the company’s official source systems and building shared data products. Bronze is restricted to the corporate data team, while Trusted/Silver and Gold are shared read-only with several business workspaces.

Gold is organized into three sublayers:

  • gold_edw: governed fact and dimension models, organized by business domain.
  • gold_analytics: tables, views and Databricks metric views supporting analytics teams.
  • gold_ad_hoc: general-purpose exploratory datasets.

I’m considering four approaches.

Option 1 — Catalog per environment

<env>.<layer>_<system_or_sublayer>.<module>_<object>

prod.trusted_sap.mm_material
prod.gold_edw.finance_fact_revenue

Pros:

  • Very few catalogs
  • Simple workspace bindings and ownership
  • Environment is a clear isolation boundary

Cons:

  • Catalog-level governance is too broad
  • Corporate ownership is not explicit
  • Layers and systems depend heavily on schema and object naming
  • Bronze, Trusted and Gold cannot have separate workspace bindings

Option 2 — Catalog per environment, layer and system

For Bronze and Trusted:

<env>_corporate_<layer>_<system>.<module>.<object>

prod_corporate_bronze_sap.mm.mara
prod_corporate_trusted_sap.mm.material

For Gold:

<env>_corporate_gold_<sublayer>.<domain>.<object>

prod_corporate_gold_edw.finance.fact_revenue
prod_corporate_gold_analytics.finance.revenue_metrics
prod_corporate_gold_ad_hoc.marketing.campaign_analysis

Pros:

  • Clear isolation by environment, layer and source system
  • Flexible workspace bindings and access policies
  • Easy to identify corporate-governed datasets
  • Different systems can have different consumers and owners

Cons:

  • Catalog count grows with environments × layers × systems
  • More bindings, grants, ownership and storage configurations
  • Potentially too granular when all systems follow the same policies
  • Databricks currently has a fixed limit of 1,000 catalogs per Unity Catalog metastore

Option 3 — Layer-based hybrid

Use one catalog per environment and layer, moving the system and module to the schema:

<env>_corporate_<layer>.<system>_<module>.<object>

prod_corporate_bronze.sap_mm.mara
prod_corporate_trusted.sap_mm.material

Keep separate Gold catalogs:

prod_corporate_gold_edw.finance.fact_revenue
prod_corporate_gold_analytics.finance.revenue_metrics
prod_corporate_gold_ad_hoc.marketing.campaign_analysis

Pros:

  • Only five primary catalogs per environment
  • Bronze can remain exclusive to the corporate workspace
  • Trusted and Gold catalogs can be shared read-only
  • Clear catalog-level separation between ingestion, trusted data and Gold use cases
  • Avoids catalog proliferation

Cons:

  • Different source systems share the same catalog
  • System-specific ownership and policies must be implemented at the schema level
  • The system and module must be combined in the schema name

Option 4 — System-based catalog

Invert the organization by using one catalog per environment and source system, with the layer and module represented by schemas:

<env>_corporate_<system>.<layer>_<module>.<object>

prod_corporate_sap.bronze_mm.mara
prod_corporate_sap.trusted_mm.material
prod_corporate_sap.bronze_sd.vbak
prod_corporate_sap.trusted_sd.sales_order

Gold would remain organized separately:

prod_corporate_gold_edw.finance.fact_revenue
prod_corporate_gold_analytics.finance.revenue_metrics
prod_corporate_gold_ad_hoc.marketing.campaign_analysis

Pros:

  • Fewer catalogs than the layer-and-system approach
  • Natural organization for ingestion pipelines and source-system ownership
  • Bronze and Trusted objects from the same system stay together
  • Different systems can have different owners, storage and consumers
  • Catalog growth is approximately environments × systems rather than environments × layers × systems

Cons:

  • Workspace bindings apply to the entire catalog, not individual schemas
  • Sharing Trusted data requires binding the whole system catalog to consumer workspaces
  • Bronze must be protected through schema-level privileges rather than workspace isolation
  • Grants and bindings are repeated if every system has the same consumers
  • Consumer workspaces may receive a large number of system catalogs

I’m currently leaning toward the layer-based hybrid because Bronze and Trusted have different sharing requirements. It provides meaningful catalog-level isolation while keeping the number of catalogs manageable.

However, the system-based option is attractive when each source system has distinct ownership, storage or consumers.

How are you structuring Unity Catalog in similar multi-workspace environments? Which boundary do you consider more important at the catalog level: environment, processing layer, or source system?


r/databricks • • 18h ago

General Community BrickTalk | Connecting Databricks Serverless Compute to On-Premises Databases

7 Upvotes

Hey r/Databricks!

We’re hosting a community-sponsored BrickTalk on Thursday, December 3, 2026, focused on Serverless on Premises Connectivity. BrickTalks is a community event series where Databricks experts share real-world use cases, demos, and practical insights for building with data and AI, giving you a direct line to the people behind the products.

Many organizations need to keep databases on premises due to data sovereignty, compliance, latency, tightly coupled dependencies, or simply because migration has no clear return on investment, but that shouldn't stop you from using cloud-native compute. In this session, we’ll show how to connect Databricks serverless compute to on-premises databases so you can scale step by step in the cloud while critical databases stay where regulations, risk, or performance require.

🛠️ What We'll Cover:

  • Network prerequisites: Direct Connect, ExpressRoute, or Interconnect, compared with site-to-site VPN
  • Connectivity options: Private Network Gateway, Private Link service, Reverse SSH Tunnel, and Databricks outbound IPs
  • A decision guide to help you choose the right pattern
  • Best practices and common gotchas across AWS, Azure, and GCP

⏱️ Global Times:

Thursday, December 3, 2026

  • PT: 8:00 AM
  • ET: 11:00 PM
  • London (GMT): 4:00 PM
  • IST: 9:30 PM

🔗 Register Here: https://usergroups.databricks.com/events/details/databricks-user-groups-bricktalks-presents-community-bricktalk-serverless-on-premises-connectivity/


r/databricks • • 19h ago

General Your jobs and pipelines can now live in workspace folders. How do you want to organize them

37 Upvotes

<Databricks PM here />

We just opened the Beta of Jobs & Pipelines in folders. You can organize jobs or pipelines in a workspace folder as you would a notebook or a dashboard and comes with all the semantics you are used to in the workspace: sharing, trashing, restoring etc.

Why we built it

Until now every job and pipeline lived only in the flat Jobs & Pipelines list. That list is fine at 20 jobs but can get unmanageable the higher that number grows:

  • Discovery. Your notebooks are in /Workspace/Projects/marketing/ but the job that runs them is somewhere in a list of thousands. You find it by search or by bookmark.
  • Permissions. Onboarding a teammate to a project meant granting access on each job and each pipeline, one at a time. Offboarding meant the reverse.
  • Deletion. Delete a job by mistake and it was gone. No trash, no restore.

What you get

  • Folders. Create a job or pipeline inside any workspace folder. It shows up in the file browser next to the code it runs, and still appears in the Jobs & Pipelines list.
  • Folder permissions. Grant a group access to /Workspace/Projects/marketing/ and they get every job and pipeline inside it. 
  • Trash and restore. Deleting from the workspace moves the asset to Trash and you can restore it within 30 days. Trashing a job cancels active runs and stops the schedule. Trashing a pipeline stops it but keeps its tables. Note: deleting from the jobs UI will not be trashed just yet (we’re working on it!)
  • Move and rename. Drag a job between folders or rename it. 
  • API. Set parent_path on create to place the asset in a folder. 

What happens to your existing jobs and pipelines

Nothing, unless you ask. Existing assets stay exactly where they are and behave exactly as before. To bring one into a folder, open the job or pipeline page and use Select folder. 

Where new ones go by default

New jobs and pipelines created in the UI now land in your home folder by default (/Workspace/Users/you@example.com/). You can pick a different folder or opt out in your user preferences and keep creating them with no folder, as before. API calls that omit parent_path create a legacy, list-only asset, same as today. Nothing changes for DABs or Terraform unless you set the field.

Pipelines: the object sits next to the source folder, not inside it

A pipeline has a source folder (the root folder the editor opens) and now also has a pipeline object and is created beside its source folder:

/Workspace/Projects/orders/
├── orders_pipeline          <- the pipeline object (schedule, runs, permissions)
└── orders_pipeline_source/  <- the root folder the editor opens
    ├── bronze.py
    └── silver.sql

How do you organize?

  • One folder per project. /Projects/<name>/ holds the notebooks, the pipeline object, its source folder and the job that runs it. Share the folder, done.
  • Environment folders. /Projects/<name>/dev/, /staging/, /prod/, each with its own copy of the job, deployed by DABs with parent_path set per target.
  • Team folders with shared libraries. /Teams/data-eng/lib/ holds common code. Each pipeline's source folder imports from it. Pipeline objects live with their team.
  • Personal sandbox, then promote. Build in your home folder, then move the job into the team folder when it is ready. Permissions follow the folder.

Questions for you:

  1. Do you want your jobs next to the notebooks they run or in a separate jobs/ folder?
  2. One folder per environment, or one folder with dev/staging/prod jobs side by side?
  3. Would you move existing jobs in bulk if we gave you the button? Which ones first?
  4. For pipelines, is "object beside source folder" right or do you want it inside?

r/databricks • • 22h ago

News Databricks is in early talks to raise a Series N funding round at a $225 billion valuation.

27 Upvotes

Guessing the Anthropic IPO didn’t inspire confidence and clearly there are more than enough investors trying to invest in Databricks.