cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

temarych
by • New Contributor II
  • 1177 Views
  • 4 replies
  • 2 kudos

How should schema evolution be handled across silver and gold layers in a medallion architecture?

We run a medallion pipeline on Databricks:Bronze: AutoLoader ingests raw CSV files into Delta tables (append-only, all columns as STRING, schema evolution via addNewColumns)Silver: PySpark jobs clean and transform bronze data into Delta tables using ...

  • 1177 Views
  • 4 replies
  • 2 kudos
Latest Reply
tajamulkhan
Honored Contributor III
  • 2 kudos

I would handle schema evolution differently across Bronze, Silver and Gold because each layer serves a different purpose.In my work with Databricks and PySpark, one important consideration is protecting downstream applications from unexpected data ch...

  • 2 kudos
3 More Replies
trantu
by • New Contributor II
  • 851 Views
  • 9 replies
  • 4 kudos

Predictive Optimization keeps running on system.lakebase after disabling it at account level

Hi all,On an Azure Databricks workspace (Premium, Southeast Asia) that uses Lakebase, Predictive Optimization started running on 16 Nov 2026 on the Databricks-managed telemetry tables in system.lakebase (postgres_logs, compute_counters, plan_history ...

  • 851 Views
  • 9 replies
  • 4 kudos
Latest Reply
Shaun_W
New Contributor II
  • 4 kudos

I had a similar issue and raised with Databricks. Commentary for that is here: https://community.databricks.com/t5/administration-architecture/unexpected-lakebase-costs-after-new-...In summary ....Lakebase preview features Lakebase Observability in S...

  • 4 kudos
8 More Replies
ayushpattnaik
by • New Contributor III
  • 1005 Views
  • 2 replies
  • 6 kudos

Resolved! Is it safe to expose JWT in Databricks Job?

There is an usecase where I want to verify/extract the job caller identity in the job runtime of databricks. The job run_as and creator parameter seems to be fixed at the job configuration and doesn't reflect/update who actually triggered a job run.A...

  • 1005 Views
  • 2 replies
  • 6 kudos
Latest Reply
tajamulkhan
Honored Contributor III
  • 6 kudos

I would avoid passing the original user JWT into the job just to identify who triggered the execution.There are two different identities involved here.The identity configured to execute the job.The identity that requested the job execution.Those iden...

  • 6 kudos
1 More Replies
Davide
by • New Contributor III
  • 281 Views
  • 2 replies
  • 0 kudos

Managed table conversion and vacuum

Hello everyone,I am looking for clarification about the 14-day rollback period after converting an external table to a managed table using:                                                        ALTER TABLE <table_name> SET MANAGEDDatabricks document...

  • 281 Views
  • 2 replies
  • 0 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 0 kudos

Greetings @Davide, I did some digging and here is what I found. @Isaac_18 has this right, and your own test in the sibling thread settles the main question. The 14-day rollback window and delta.deletedFileRetentionDuration are separate settings. A 7-...

  • 0 kudos
1 More Replies
spiralmantra07
by • New Contributor II
  • 629 Views
  • 1 replies
  • 2 kudos

How can Data Fabric streamline real-time and batch data processing for data engineering services?

Data Fabric helps data engineering teams by providing a unified architecture that integrates data across sources, automates pipeline creation, and ensures governance. It enables scalable data pipelines, efficient data warehouse management, and seamle...

  • 629 Views
  • 1 replies
  • 2 kudos
Latest Reply
saisaranv
Valued Contributor III
  • 2 kudos

Well said. One additional consideration is workload predictability and scaling requirements.In my experience, Microsoft Fabric can be a strong choice for organizations with well-understood and relatively stable workloads, where capacity planning can ...

  • 2 kudos
JanW
by • New Contributor II
  • 711 Views
  • 3 replies
  • 4 kudos

Resolved! Add resource to app space

Hi,I recently started trying out the Genie App Builder first presented at DAIS. For this I created an app space and I wanted to connect my app to a lakebase project. But I can't seem to find any options to do this like it works with apps which are no...

  • 711 Views
  • 3 replies
  • 4 kudos
Latest Reply
LingeshK
Databricks Employee
  • 4 kudos

Hello @JanW  Following up on the answer above from @saurabh18cs  and the results of a quick API test. Thank you for setting out what you tried and how you compared it with an app outside a space. That made the case easy to reproduce Short answer: You...

  • 4 kudos
2 More Replies
Phani1
by • Databricks MVP
  • 1916 Views
  • 4 replies
  • 0 kudos

Resolved! Databricks Cost Estimation Template

Hi Databricks Team, Is there a standard Databricks cost estimation template(xl), sizing calculator, or TCO tool that allows us to provide the following inputs and derive an approximate monthly and annual platform cost:Source systems and their types (...

  • 1916 Views
  • 4 replies
  • 0 kudos
Latest Reply
Harshad_B
New Contributor III
  • 0 kudos

@Phani1 @robert7878 - You can build a AI/BI dashboard pretty easily using Genie, just give what is required and how you want it to be represented.

  • 0 kudos
3 More Replies
RaulTovar
by • New Contributor II
  • 1427 Views
  • 5 replies
  • 0 kudos

How to extract data from SAP to Databricks?

Hey everyone, I'm working through a project where I need to get data out of SAP S4Hana and into Databricks, and I'd love to pick the brains of anyone who's done this before.A few things I'm trying to figure out:How are you actually pulling the data o...

  • 1427 Views
  • 5 replies
  • 0 kudos
Latest Reply
anksaini
New Contributor II
  • 0 kudos

Easiest would be to use SAP BDC

  • 0 kudos
4 More Replies
Khasim_1
by • Contributor III
  • 983 Views
  • 3 replies
  • 3 kudos

Resolved! Best practices and optimization tips for Delta Lake tables

Hi everyone,I’m currently working with Delta Lake and wanted to start a discussion around performance tuning, maintenance, and best practices.I’m interested in hearing how others in the community approach a few key areas:Maintenance Operations: How o...

  • 983 Views
  • 3 replies
  • 3 kudos
Latest Reply
krishgarikipati
Databricks Partner
  • 3 kudos

Hi @Khasim_1   Maintenance operations: OPTIMIZE and VACUUMThe frequency of maintenance operations should depend on the table’s ingestion pattern, update/delete volume, file sizes, query performance, and storage cost. Avoid running them on a fixed sch...

  • 3 kudos
2 More Replies
LingeshK
by • Databricks Employee
  • 3936 Views
  • 3 replies
  • 7 kudos

How to Unit Test Spark Declarative Pipelines

Every engineer who ships application code writes unit tests for it. Yet the data pipeline that feeds the same application is often left with a manual run and a dashboard that someone eventually notices is wrong. The gap has been more about tooling th...

00-etl-diagram-excalidraw.png 03-v2-pipeline-dag-closeup.png 13-v2-gold-table-wrong-numbers.png 12-v2-run-pipeline-complete-green.png
  • 3936 Views
  • 3 replies
  • 7 kudos
Latest Reply
dmugisha_r
New Contributor II
  • 7 kudos

Thanks for this, the quickstart was a great starting point. The per-test isolation with the redirecting_* schemas is really nice: we could test AUTO CDC edge cases (deletes, out-of-order updates, null keys) on mock data, without touching real tables....

  • 7 kudos
2 More Replies
dixcyscott
by • New Contributor II
  • 891 Views
  • 3 replies
  • 2 kudos

Building a Visitor Data Pipeline for Digital Membership Card

Hi everyone, I'm working on a project where we collect visitor activity from multiple touchpoints such as ticketing, membership sign-ups, event participation, mobile app interactions, and digital membership card usage. The goal is to create a unified...

  • 891 Views
  • 3 replies
  • 2 kudos
Latest Reply
LingeshK
Databricks Employee
  • 2 kudos

Hello @dixcyscott  Streaming for check-ins, batch for slower sources, and a gold profile built from the event facts. Ingestion and the silver tables run in one Lakeflow pipeline, with a Databricks SQL materialized view on top for near real-time. Q1. ...

  • 2 kudos
2 More Replies
johnb1
by • Contributor II
  • 923 Views
  • 4 replies
  • 4 kudos

Resolved! Materialized View with Incremental Refresh - Change Data Feed required on source tables?

Question:To create a materialized view with incremental refresh, is the Delta Lake feature Change Data Feed required on all of the source tables that the materialized view consumes? Or, is it not required for the creation of the materialized view, bu...

  • 923 Views
  • 4 replies
  • 4 kudos
Latest Reply
indradbxlearn
New Contributor III
  • 4 kudos

@johnb1 - Hello Johnb1 -  CDF is not required, either to create the materialized view or to refresh it incrementally. The current Databricks docs (updated October 2026) list it only as a recommendation for better performance.Row tracking is what can ...

  • 4 kudos
3 More Replies
DB1To3
by • Valued Contributor II
  • 1568 Views
  • 6 replies
  • 7 kudos

Resolved! Unity Catalog v.2.0?

Are there plans for a v.2.0 of Unity Catalog?  I find the organization of tables in databricks to be very constrained and inflexible.  Given that UC tables have their origins in data lakes, you would think they would have brought a lot more flexibile...

  • 1568 Views
  • 6 replies
  • 7 kudos
Latest Reply
LiresaFerizaj
Contributor
  • 7 kudos

Fair points, especially for data coming from systems with richer naming. I can't speak to the roadmap, but here's what works for us today:Aliases: Create views in a consumer-facing catalog, like reporting.sales.outside_sales, that point to the real t...

  • 7 kudos
5 More Replies
ankit2604
by • New Contributor III
  • 2161 Views
  • 14 replies
  • 12 kudos

Resolved! Datavault implemention on Databricks

Hi everyone,I'm building a Data Vault 2.0 architecture entirely natively in Databricks from scratch. We have specifically decided not to use dbt.While Raw Vault ingestion is straightforward with Spark/Delta, I'm looking for architectural advice on co...

  • 2161 Views
  • 14 replies
  • 12 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 12 kudos

Hello @ankit2604, I took a look at both internal and external documentation and here is what I found. Thanks @balajij8, @Satyasai, @Jen_Evangelista and @data_pulse for doing most of the work here. The shape they've described is right: streaming table...

  • 12 kudos
13 More Replies
DB1To3
by • Valued Contributor II
  • 692 Views
  • 3 replies
  • 4 kudos

Resolved! Zerobus rescue (VARIANT) not working. No Preview Available.

Has anyone tried using the rescue feature for json in zerobus-ingest?  It seems like a very significant feature, assuming the schema incoming json is even 1% outside the control of team that may be ingesting on the databricks side. There needs to be ...

DB1To3_0-1792157909614.png DB1To3_1-1792158060551.png
  • 692 Views
  • 3 replies
  • 4 kudos
Latest Reply
aayush_410
Contributor
  • 4 kudos

You’re reading the intended behavior correctly. Zerobus should route non-conforming fields into the rescue column instead of rejecting the record. Your error suggests the feature isn’t active on that table. Per the docs, if no column qualifies, the f...

  • 4 kudos
2 More Replies
Labels