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

browsingbeaver
by • New Contributor III
  • 491 Views
  • 2 replies
  • 3 kudos

Resolved! Add custom_tags and budget_policy_id support to Declarative Automation Bundle presets

Declarative Automation Bundle presets currently allow common deployment configuration to be reused across resources. For enterprise platform teams, it would be valuable if presets could also support custom_tags and budget_policy_id.This would allow o...

  • 491 Views
  • 2 replies
  • 3 kudos
Latest Reply
data_pulse
Contributor
  • 3 kudos

@browsingbeaver I did a quick bundle validation around this:presets.budget_policy_id is not currently supported: strict bundle validation reports it as an unknown field.budget_policy_id is valid at the individual job resource level.Adding it under pr...

  • 3 kudos
1 More Replies
DineshOjha
by • New Contributor III
  • 794 Views
  • 4 replies
  • 3 kudos

Notebook commands hang after restarting a cluster with custom library installed

Hi,I'm experiencing an issue with a Databricks notebook after restarting a cluster that has a custom library installed.Here are the steps I followed:Created a Databricks compute cluster.Attached a notebook to the cluster.Installed a library required ...

  • 794 Views
  • 4 replies
  • 3 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 3 kudos

Hello @DineshOjha,  Short answer: this isn't expected behavior. When terminated compute starts again, Databricks recreates it, reinstalls the configured libraries, and reattaches notebooks. If a library is still pending, fails to install, or conflict...

  • 3 kudos
3 More Replies
Khasim_1
by • Contributor
  • 739 Views
  • 4 replies
  • 2 kudos

How does AUTO CDC resolve same-timestamp tie in SEQUENCE BY?

We are using AUTO CDC (APPLY CHANGES INTO) to process change data capture events from an upstream source (via Autoloader ingesting CDC files landed in cloud storage) into our Silver layer tables. Our source occasionally delivers out-of-order events —...

  • 739 Views
  • 4 replies
  • 2 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 2 kudos

Hello @Khasim_1, I took a look at both internal and external documentation and here is what I found. You're in good hands in this thread already. @Brahmareddy's STRUCT suggestion and @data_pulse's test both line up with the documented behavior, and @...

  • 2 kudos
3 More Replies
Ajay-Pandey
by • Databricks MVP
  • 7125 Views
  • 13 replies
  • 4 kudos

Databricks Job cluster for continuous run

Hi AllI am having situation where I wanted to run job as continuous trigger by using job cluster, cluster terminating and re-creating in every run within continuous trigger.I just wanted two know if we have any option where I can use same job cluster...

AjayPandey_0-1728973783760.png
  • 7125 Views
  • 13 replies
  • 4 kudos
Latest Reply
Henderson
New Contributor II
  • 4 kudos

Managing job clusters with continuous triggers can be challenging, especially when a cluster terminates and must be recreated for every run. Reusing the same cluster could potentially reduce startup delays and improve resource efficiency, depending o...

  • 4 kudos
12 More Replies
yit337
by • Contributor III
  • 585 Views
  • 4 replies
  • 2 kudos

Propagating SCD2 History from Silver to Gold with AUTO CDC FLOW and Handling Full Refresh

I have a streaming SCD2 table in the Silver layer, and I need to propagate all historical and future SCD2 events into another SCD2 streaming table in the Gold layer.The Gold table is maintained through a DLT pipeline using two AUTO CDC FLOWs:Initial ...

  • 585 Views
  • 4 replies
  • 2 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 2 kudos

I have made a few errors in my previous response. Here's the corrected version. What's documented about the ordering behavior For SCD Type 1 targets, you can combine one AUTO CDC FROM SNAPSHOT flow with one or more AUTO CDC flows. The snapshot versi...

  • 2 kudos
3 More Replies
Melia-Taylour
by • New Contributor II
  • 799 Views
  • 5 replies
  • 3 kudos

DLT Pipeline - Overwrite except for one Append table

Hi all,I am a junior engineer and I am working on a use case involving DLT pipelines that read from a csv source at regular intervals and populate tables based upon processing of this. In most cases, I'd like the table contents to be overwritten with...

  • 799 Views
  • 5 replies
  • 3 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 3 kudos

Hi. Please find the another update on the response below:Use @DP.materialized_view for the overwrite table and an append-only streaming table (@DP.table over an Auto Loader read) for the history table. I also need to retract something from my last r...

  • 3 kudos
4 More Replies
priya9896
by • New Contributor II
  • 1197 Views
  • 10 replies
  • 3 kudos

Azure to AWS

Hi everyone,We're evaluating an architecture pattern and would appreciate any guidance or recommendations. Has anyone implemented a similar cross-cloud pattern? Specifically:Can AWS Glue be used to access Azure Databricks data without copying it?Are ...

  • 1197 Views
  • 10 replies
  • 3 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 3 kudos

Also, if you feel your question has been answered please "Accept as Solution" so that others can benefit.  Cheers, Lou.

  • 3 kudos
9 More Replies
Sherbo
by • New Contributor II
  • 560 Views
  • 4 replies
  • 2 kudos

Slow Running SQL Query

The following Query is running slowly even though it returns only ~ a million rows. It takes around 25 mins. I am trying Produce a pre-aggregated summary table (grouped by 9 dimension attributes) from a large fact table, to be consumed by a Power BI ...

  • 560 Views
  • 4 replies
  • 2 kudos
Latest Reply
Aravind_Reddy
Databricks Partner
  • 2 kudos

The core reason this query takes 25 minutes is that it scans the 1.4B-row fact table twice and pushes 1.4B wide rows (with 65 additive metrics) through a LEFT JOIN with dim_customer before performing any GROUP BY aggregation.Here is a breakdown of th...

  • 2 kudos
3 More Replies
alejandro_jaram
by • New Contributor II
  • 482 Views
  • 2 replies
  • 1 kudos

Metric views materialization failure

Hi, I have metric views with materilization option, it was running fine but today it just failed without any change to my metric view definition, all metric views are failing so I guess is something general. Based on limited logs (users can´t fully a...

alejandro_jaram_0-1789057920599.png
  • 482 Views
  • 2 replies
  • 1 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 1 kudos

Hello @alejandro_jaram, I took a look at both internal and external documentation and here is what I found. First, credit to @osingh for pointing at clustering and statistics validation. Liquid clustering does require file stats on every clustering k...

  • 1 kudos
1 More Replies
marcell_nagy
by • New Contributor III
  • 382 Views
  • 3 replies
  • 0 kudos

HubSpot connector

The HubSpot Support Lakeflow connector is able to download basic datasets. However, I see no way to get non-basic columns:1. The suggested method to analyse email events is to use the portalSubscriptionStatus and source properties. The Lakeflow conne...

  • 382 Views
  • 3 replies
  • 0 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 0 kudos

Greetings @marcell_nagy, Fair questions, I should've been more specific. Account team. That's the Databricks people assigned to your company: account executive, solutions architect, or customer success contact. Separate from your HubSpot admin. If yo...

  • 0 kudos
2 More Replies
pharma70
by • New Contributor II
  • 578 Views
  • 4 replies
  • 3 kudos

Schema changes notification

 Hi all,Sometimes an upstream source adds a new column without letting us know. We do not want the Databricks workflow to fail when this happens, but we would like to be notified so we can review the new column and decide whether to include it in our...

  • 578 Views
  • 4 replies
  • 3 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 3 kudos

Greetings @pharma70, I did some digging and here is what I found. The replies from @Satyasai, @suryaprayaga, and @ivanvyd each cover a piece of this, so I'll stitch them together. The right approach depends on how data arrives in Databricks. If you i...

  • 3 kudos
3 More Replies
Fatimah-Tariq
by • New Contributor III
  • 786 Views
  • 5 replies
  • 0 kudos

Lakeflow connect CT pipeline keeps running multiple connections in source

I'm working on an ingestion pipeline. I was adding tables to it gradually so that we can monitor the load on our prod server side by side and with my last set of tables added (with them, all the heavy duty tables were inside that pipeline), the load ...

FatimahTariq_0-1789473365412.png
  • 786 Views
  • 5 replies
  • 0 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 0 kudos

Short version: the connections aren't coming from your ingestion pipeline. They come from the ingestion gateway, which reads from SQL Server in parallel, and the "2 processors" per session is most likely SQL Server's own parallel query execution (DO...

  • 0 kudos
4 More Replies
somnii
by • New Contributor II
  • 625 Views
  • 4 replies
  • 2 kudos

Failed to resolve External API

I am currently testing on a Premium trial, but my workspace is unable to resolve my external API to pull data. May I know if I need to update anything on the settings side to fix this issue?Thanks!

  • 625 Views
  • 4 replies
  • 2 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 2 kudos

This is almost always an outbound networking problem, not a setting you toggle on the workspace itself. Which fix applies depends on what compute your notebook is running on. 1. Confirm it's DNS or egress, and not the API itself Run this from the sa...

  • 2 kudos
3 More Replies
ChristianRRL
by • Honored Contributor II
  • 771 Views
  • 4 replies
  • 0 kudos

Declarative Pipeline Expectations - Quarantining Bad Records

Hi there,I'm trying to follow Expectation recommendations and advanced patterns | Quarantine invalid records, but this doesn't really make sense to me. Following the described pattern almost exactly in my case, I see that there are two TEMPORARY LIVE...

ChristianRRL_0-1790630498503.png ChristianRRL_1-1790630675699.png ChristianRRL_2-1790630695429.png ChristianRRL_3-1790630715478.png
  • 771 Views
  • 4 replies
  • 0 kudos
Latest Reply
data_pulse
Contributor
  • 0 kudos

Adding further to above good replies, one thing I would like to add is that a quarantine table is much more useful if it stores why each row was quarantined, not just is_quarantined = true.The expectation UI/event log is mainly for counts and trends,...

  • 0 kudos
3 More Replies
Labels