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

gowri_databrick
by • Contributor
  • 946 Views
  • 3 replies
  • 0 kudos

Handling New Columns in a Databricks Data Pipeline

Hi everyone,I have a question about handling schema changes during data ingestion in Databricks.Let’s say an e-commerce company receives customer data every day with the following columns:Customer_id, name, cityAfter a few months, the source system a...

  • 946 Views
  • 3 replies
  • 0 kudos
Latest Reply
balajij8
Esteemed Contributor III
  • 0 kudos

@gowri_databrick Auto Loader automatically detects and handles new columns when ingesting files. When your source adds the email column, Auto Loader's checkpoint tracks the schema change and can either rescue unknown columns into _rescued_data (safe ...

  • 0 kudos
2 More Replies
lessalucas
by • New Contributor II
  • 504 Views
  • 1 replies
  • 0 kudos

Databricks Secrets

Recently Databricks Secrets became generally available.Now, you can manage your secrets whitin the catalog using the namespace: catalog.schema.secretHowever, you can do the opposite of what you used to do: Connect Unity Catalog secrets to Azure Key V...

  • 504 Views
  • 1 replies
  • 0 kudos
Latest Reply
DoTA
Honored Contributor
  • 0 kudos

One dimension I would add, since it usually decides it for regulated shops: governance and audit. - UC-managed secrets (catalog.schema.secret) inherit UC's permission model and land in the same audit / system tables as everything else, so "who read t...

  • 0 kudos
Khasim_1
by • Contributor III
  • 768 Views
  • 2 replies
  • 2 kudos

Resolved! Auto Loader Strategy: Balancing Cloud Notification Costs vs. Directory Listing in Massive Migrations

Hi everyone,I’m currently architecting a high-volume migration for a platform that generates millions of small files daily across thousands of prefixes. As I evaluate the best ingestion strategy using Databricks Auto Loader, I’m running into an archi...

  • 768 Views
  • 2 replies
  • 2 kudos
Latest Reply
Satyasai
Contributor III
  • 2 kudos

In the context of enterprise-grade cloud migrations (think legacy databases or petabyte-scale data lakes ingestion into Databricks Delta Lake), the industry standard approach involves splitting the ingestion stack into 2:History (Initial Bulk Load) a...

  • 2 kudos
1 More Replies
Khasim_1
by • Contributor III
  • 1248 Views
  • 2 replies
  • 2 kudos

Resolved! Managing Schema Drift and Evolution in Spark Declarative Pipelines (SDP)

Hi everyone,I’m currently diving into the Spark Declarative Pipelines (SDP) framework and evaluating it for our upcoming migration of a high-velocity event-driven pipeline.One area I’m trying to solidify is our strategy for Schema Evolution. In tradi...

  • 1248 Views
  • 2 replies
  • 2 kudos
Latest Reply
Islam_hoti
Contributor III
  • 2 kudos

Hi,One framing correction that might save you time: there is no separate schema drift control at the declarative layer. SDP handles orchestration and dependencies between flows. Schema evolution is still owned by the source reader and by the target t...

  • 2 kudos
1 More Replies
data_pulse
by • Contributor III
  • 1461 Views
  • 5 replies
  • 4 kudos

Resolved! Do UC table tags propagate to billing for Predictive Optimization and Data Quality Monitoring?

I am looking at a scenario for team-level cost attribution using system.billing.usage and have a tagging gap for Databricks-managed services such as Predictive Optimization and Data Quality Monitoring.Tried adding a team/ownership tag directly to the...

  • 1461 Views
  • 5 replies
  • 4 kudos
Latest Reply
data_pulse
Contributor III
  • 4 kudos

@stbjelcevic Thanks, that was helpful and gave another way to solve this use case.Instead of maintaining a separate table for object to team mapping table, can now use UC tags as the ownership source with precedence:table tag -> schema tag -> catalog...

  • 4 kudos
4 More Replies
Islam_hoti
by • Contributor III
  • 2031 Views
  • 6 replies
  • 4 kudos

Resolved! How are you separating dev, staging and prod in Unity Catalog without duplicating everything?

Hi everyone, We are trying to settle on an environment strategy and keep going back and forth, so I would like to hear how other teams actually landed on this rather than what the reference architecture suggests. Our situation. One Databricks account...

  • 2031 Views
  • 6 replies
  • 4 kudos
Latest Reply
Coffee77
Honored Contributor III
  • 4 kudos

Here is, in summary, how I am facing that issue in some real projects in Deloitte:Unity Catalog Metastore│├── Workspace DEV│ └── sales_dev│ └── finance_dev│ └── customer_dev│├── Workspace QA│ └── sales_qa│ └── finance_qa│ └── customer_qa│├── Workspac...

  • 4 kudos
5 More Replies
k-yoongsuntia
by • New Contributor II
  • 485 Views
  • 1 replies
  • 1 kudos

BOOTSTRAP_TIMEOUT on cluster start (Southeast Asia)

Our cluster start fails with:BOOTSTRAP_TIMEOUT: Instance bootstrap failed command: Bootstrap_e2e Instance bootstrap inferred timeout reason: UnknownReason Failure message: Bootstrap is terminated spontaneously by VM because self timeout was reached. ...

  • 485 Views
  • 1 replies
  • 1 kudos
Latest Reply
osingh
Contributor
  • 1 kudos

Widening the NSG service tag to all regions is a good first step but it rarely fixes this on its own. The AzureDatabricks service tag only covers the control plane traffic. What most people miss is that during bootstrap, the VM also needs to reach Az...

  • 1 kudos
Islam_hoti
by • Contributor III
  • 611 Views
  • 1 replies
  • 3 kudos

Resolved! Now that Unity Catalog manages Iceberg natively, is anyone actually switching?

Hi everyone,Unity Catalog managed Iceberg tables went GA earlier this year, and they arrived with the features that used to be the reason to stay on Delta: liquid clustering, predictive optimization, materialized views, streaming tables. On paper the...

  • 611 Views
  • 1 replies
  • 3 kudos
Latest Reply
Khasim_1
Contributor III
  • 3 kudos

Hi @Islam_hoti,The Reality on the Ground: We have experimented with Iceberg, but for our primary production workloads, we remain 100% Delta Lake. Here is our internal "Messy Truth" on why:The "Inertia" Factor: You’re right, inertia is a legitimate en...

  • 3 kudos
srikanthp24
by • New Contributor III
  • 956 Views
  • 4 replies
  • 0 kudos

Multiple gateway pipeline for same database

Hi Team,To do the POC on Lakeflow Connect Ingestion Pipeline, we directly connected the sql server prod DB and build the pipeline it is running successfully. Now, My question is we need to move that to UAT and Prod. In Dev we have created througn UI ...

  • 956 Views
  • 4 replies
  • 0 kudos
Latest Reply
stbjelcevic
Databricks Employee
  • 0 kudos

@srikanthp24 , To your core question: multiple gateway pipelines against the same source database don't interfere with each other. Each gateway keeps its own independent state, its own staging volume, and its own CDC/change-tracking cursor, so a sepa...

  • 0 kudos
3 More Replies
pragya17
by • New Contributor III
  • 558 Views
  • 1 replies
  • 1 kudos

Databricks Dashboard Embedded Ask Genie

Hi ,I have created Dashboard on Databricks using sql datasets and published with " Shared Data Permission " with the business user . he can see the data and charts but unable to use "Ask Genie " functionality . Do I need to grant Use Catalog , schema...

  • 558 Views
  • 1 replies
  • 1 kudos
Latest Reply
Valeria_Koz_DBX
Databricks Employee
  • 1 kudos

Hi @pragya17 ,You are correct that Shared data permission should not require the business user to have direct USE CATALOG, USE SCHEMA, or SELECT permissions on the underlying data. With embedded/shared credentials, the autogenerated Genie Agent shoul...

  • 1 kudos
DB1To3
by • Valued Contributor II
  • 896 Views
  • 2 replies
  • 0 kudos

Resolved! Can't access abfss data in azure databricks when providing shared key (fighting UC?)

The "no isolation shared" clusters are going to be killed in the next month.  This came as a surprise to me.  I should have been paying closer attention.  We don't heavily use UC since our data is published to the business via Fabric.  All the spark ...

  • 896 Views
  • 2 replies
  • 0 kudos
Latest Reply
DB1To3
Valued Contributor II
  • 0 kudos

I found another reply where the customer was required to add the service principal's full GRANT to the external locations.   Seems very odd, and almost less secure than what I was doing with the shared access key.I really think there needs to be a ne...

  • 0 kudos
1 More Replies
Islam_hoti
by • Contributor III
  • 1180 Views
  • 5 replies
  • 4 kudos

Resolved! How are you attributing serverless costs back to individual jobs and teams?

Hi everyone,We moved most of our workloads to serverless over the last few months and the performance side has been fine. The part we did not plan for is cost attribution.On classic compute this was easy. One cluster per team, tags on the cluster, an...

  • 1180 Views
  • 5 replies
  • 4 kudos
Latest Reply
ivanvyd
Contributor III
  • 4 kudos

@Islam_hoti the most defensible model is to separate measured attribution from allocation policy instead of forcing every DBU into a team bucket.Exact workload attribution. Use system.billing.usage as the ledger. For serverless jobs, group by workspa...

  • 4 kudos
4 More Replies
LakehouseLad
by • New Contributor II
  • 925 Views
  • 5 replies
  • 1 kudos

Serverless compute resolves some public domains but not others

Hi everyone,I’m troubleshooting outbound internet access from Databricks serverless compute and am seeing inconsistent DNS resolution.For example, the GitHub API domain resolves successfully:api [dot] github [dot] comDNS: PASS -> DNS resolved success...

LakehouseLad_0-1788843214064.png
  • 925 Views
  • 5 replies
  • 1 kudos
Latest Reply
data_pulse
Contributor III
  • 1 kudos

@LakehouseLad I also tested the same from a Premium tier workspace, and the same public domains resolve successfully there. So this does not appear to be a general Premium tier limitation.In the screenshot you posted is showing the DNS request as DRO...

  • 1 kudos
4 More Replies
gowri_databrick
by • Contributor
  • 853 Views
  • 3 replies
  • 0 kudos

What is a Data Skipping in Delta Lake?

Hi everyone,I’m learning about Delta Lake performance and came across data skipping.I understand that it can help Databricks avoid reading unnecessary data when running queries, but I’d like to understand its purpose more clearly.For example, if an o...

  • 853 Views
  • 3 replies
  • 0 kudos
Latest Reply
Coffee77
Honored Contributor III
  • 0 kudos

I think the below picture will help a bit. Take a look at section 2 for "data skipping": 

  • 0 kudos
2 More Replies
AshokB
by • New Contributor II
  • 1192 Views
  • 5 replies
  • 3 kudos

Partitioning vs Liquid Clustering (per-table):

Can PARTITION BY and CLUSTER BY (Liquid Clustering) be used simultaneously on the same table? If we use only PARTITION BY, is there a negative performance impact on materialized-view refreshes in Silver/Gold? Since materialized views read only increm...

  • 1192 Views
  • 5 replies
  • 3 kudos
Latest Reply
Coffee77
Honored Contributor III
  • 3 kudos

Not possible at all BUT here is a summary comparing both methods:I hope it helps. 

  • 3 kudos
4 More Replies
Labels