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

Jack17
by • Visitor
  • 88 Views
  • 2 replies
  • 0 kudos

Lakebase Data API

We need to bring the json data from external API and need to load it into lakebase API tables.Please suggest in connecting this.

  • 88 Views
  • 2 replies
  • 0 kudos
Latest Reply
DoTA
Honored Contributor
  • 0 kudos

Adding to the notebook approach above, two things to plan for. The Data API wants an OAuth bearer token on every request, and those tokens are short lived (about an hour per the docs), so a scheduled job should fetch a fresh one at the start of each ...

  • 0 kudos
1 More Replies
faruk
by • Contributor II
  • 229 Views
  • 5 replies
  • 0 kudos

Lakeflow Connect (Oracle): backfill a single new column without a full refresh of the table

Hi everyone,We ingest Oracle tables into a Bronze layer with Lakeflow Connect, and our Silver layer is a Lakeflow Spark Declarative Pipeline made of materialized views that read the Bronze tables and apply types and comments from our data dictionary....

  • 229 Views
  • 5 replies
  • 0 kudos
Latest Reply
faruk
Contributor II
  • 0 kudos

@pradeep_singhThanks for the explanation, that makes sense. Let me give a bit more context on my case, because I think it's slightly different.The data has already been corrected in Oracle. The problem is that Lakeflow Connect resumes ingestion from ...

  • 0 kudos
4 More Replies
rjmcbride
by • Visitor
  • 77 Views
  • 1 replies
  • 0 kudos

Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly

 Hi all,A full refresh of one Auto Loader streaming table in a serverless #Lakeflow (Declarative) pipeline has become about 4x slower (all to do with a single streaming table), and I'd like help understanding why. Nothing on our side changed. The onl...

  • 77 Views
  • 1 replies
  • 0 kudos
Latest Reply
ashishshivatare
Databricks Partner
  • 0 kudos

Your metrics already narrow this down significantly. Per-file processing time (~21–24 ms), storage latency, retries, and tasks per batch are all unchanged, yet concurrent running tasks dropped from ~21–24 down to ~7–8 while the backlog stayed above 1...

  • 0 kudos
AlexMorgan
by • Visitor
  • 101 Views
  • 1 replies
  • 0 kudos

How do you test data quality in a Delta Lake pipeline?

I'm exploring practical approaches to validating data quality in Databricks pipelines.For pipelines that ingest data into Delta tables, what checks do you typically automate at each stage?I'm particularly interested in handling:Schema changes and sch...

  • 101 Views
  • 1 replies
  • 0 kudos
Latest Reply
Mateus-Moreira
New Contributor II
  • 0 kudos

What has worked for us is combining rule-based checks inside the pipeline with monitoring outside it.Checks we automate:Schema changes: Compare the incoming schema with the expected or last-known schema on every run, and alert on new, removed or rety...

  • 0 kudos
Visheshd_21
by • New Contributor
  • 359 Views
  • 4 replies
  • 0 kudos

Databricks Free Edition – AWS S3 Storage Credential Validation Fails at Assume Role

Hi Databricks Team,I'm trying to connect an AWS S3 bucket to Databricks Unity Catalog using an IAM role in Databricks Free Edition.EnvironmentDatabricks Edition: Free EditionCloud: AWSWorkspace region: us-east-2Metastore region: us-east-2S3 bucket re...

  • 359 Views
  • 4 replies
  • 0 kudos
Latest Reply
twarangupta
  • 0 kudos

Hi @Visheshd_21 I did some digging.Same error here on Free Edition: Assume Role fails, and the other two checks are skipped. I went through all the suggestions above. The validate messages show the correct role ARN, UC principal and external ID; both...

  • 0 kudos
3 More Replies
MikeGo
by • Valued Contributor
  • 198 Views
  • 4 replies
  • 2 kudos

Zerobus to lakebase

Hi,Is there a plan to make lakebase as destination of Zerobus?Thanks.

  • 198 Views
  • 4 replies
  • 2 kudos
Latest Reply
MikeGo
Valued Contributor
  • 2 kudos

Why assume 100 indexes on a Lakebase landing table while picturing a Delta table with at most 4 LC keys? Nobody will create 100 indexes for a landing table.Five seconds is far from a good num for some use cases. With Lakebase, data can be queried as ...

  • 2 kudos
3 More Replies
Brahmareddy
by • Esteemed Contributor II
  • 159 Views
  • 2 replies
  • 1 kudos

Making AI-agent writes safe on Databricks: lineage, shallow clones, null-safe diffs, rollback

A pipeline change can run successfully and still ship wrong data: a join that duplicates rows, a filter that moves a revenue total by a few percent. With AI agents now writing more pipeline code, I wanted a check that runs before a change reaches pro...

  • 159 Views
  • 2 replies
  • 1 kudos
Latest Reply
DoTA
Honored Contributor
  • 1 kudos

The full-table checksum catching the 1-row delete is a nice find, sampling hiding it is exactly what people don't expect. One thing I'd double check is the sum of xxhash64. The hash spreads across the whole BIGINT range, so adding up a couple million...

  • 1 kudos
1 More Replies
Raj_DB
by • Contributor II
  • 706 Views
  • 9 replies
  • 14 kudos

How to Connect Databricks to Snowflake & Query Live Data?

Hi everyone,I am looking for a method to connect Databricks to Snowflake so I can query and transform the data directly in a notebook. I specifically want to avoid methods that just perform a one-time copy of the tables into Databricks, as I need the...

  • 706 Views
  • 9 replies
  • 14 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 14 kudos

Hello @Raj_DB, I took a look at both internal and external documentation and here is what I found. The thread already has the right answer: Lakehouse Federation. @saurabh18cs, @Harshad_B, @AbhilashNagilla, @Aravind_Reddy, @Jen_Evangelista and @balaji...

  • 14 kudos
8 More Replies
DB1To3
by • Valued Contributor II
  • 195 Views
  • 6 replies
  • 3 kudos

Missing spark structured streaming metadata blobs?

I'm exploring spark structured streaming, and contemplating uses for it.I'd like to launch a job on a recurring basis from an external scheduler.  It will launch a spark job with trigger (availableNow=True). I'm concerned about overlapping executions...

DB1To3_0-1794341533309.png
  • 195 Views
  • 6 replies
  • 3 kudos
Latest Reply
saurabh18cs
Honored Contributor III
  • 3 kudos

Hi @DB1To3 Just make this concurrent run to 1 for your streaming jobs are your problem is sorted , it wont corrupt checkpoint locatiion  

  • 3 kudos
5 More Replies
asfcorporation
by • New Contributor
  • 203 Views
  • 2 replies
  • 0 kudos

ASF Corporation

Hello Databricks Community,I'm representing ASF CORPORATION, a piling, foundation engineering and construction company established in 2017 and based in Dhaka, Bangladesh.Our company specializes in hydraulic rotary piling, rotary drilling, auger borin...

  • 203 Views
  • 2 replies
  • 0 kudos
Latest Reply
Mateus-Moreira
New Contributor II
  • 0 kudos

Hi @asfcorporation, and welcome to the Databricks Community!Beyond the usual Lakeflow + Unity Catalog + AI/BI Dashboards stack, I’d suggest not inventing your own schema: geotechnical data already has open standards. AGS4 (UK) and DIGGS (US, by ASCE ...

  • 0 kudos
1 More Replies
dbernstein_tp
by • Contributor III
  • 1730 Views
  • 22 replies
  • 8 kudos

MS Fabric Direct Lake, works with delta tables only?

Lately we started using Direct Lake to use the results of our ingestion pipelines (gold tables) in PBI dashboards. This is working ok but has one annoying and troublesome issue. Which is: the gold tables are the end result of declarative pipelines so...

  • 1730 Views
  • 22 replies
  • 8 kudos
Latest Reply
suranga
Databricks Partner
  • 8 kudos

Hi @dbernstein_tp,Thanks for testing all of that and reporting back. Good to know deletion vectors didn't upset Direct Lake.I think your two findings are really the same problem. If most of the gold MVs are fully recomputed on every update, each refr...

  • 8 kudos
21 More Replies
krishgarikipati
by • Databricks Partner
  • 176 Views
  • 2 replies
  • 0 kudos

Delta Tables: Is there any possibility on Delta tables Data file formats other than Parquet

Hi Team,Since Parquet files are immutable and Delta tables framework writes data changes into new data files, Is there any option to specify any other file format and try to use same data file for minor data changes.(Below 10 Record transaction chang...

  • 176 Views
  • 2 replies
  • 0 kudos
Latest Reply
saurabh18cs
Honored Contributor III
  • 0 kudos

Hi @krishgarikipati Could you clarify what specific issue you are facing with the current Parquet-based Delta implementation that makes you want to explore a different file format? Is the concern primarily the amount of data being rewritten for a ver...

  • 0 kudos
1 More Replies
turagittech
by • Contributor II
  • 338 Views
  • 3 replies
  • 2 kudos

guidance on cleainig up after long cdc failure

Hi All,We had a CDC failure which took far to long to resolve. A conversation with vendors on that.Does anyone have any guidance on the process steps to identifying the missed changes and applying them to the tables.I have so far run a query to ident...

  • 338 Views
  • 3 replies
  • 2 kudos
Latest Reply
turagittech
Contributor II
  • 2 kudos

Checked the full refresh.I can easily control pauses as we only update end user tables one a dayIt is SQL Server CDC. Full refresh completed Ok

  • 2 kudos
2 More Replies
Khasim_1
by • Contributor
  • 603 Views
  • 5 replies
  • 3 kudos

Unity Catalog external location access error after metastore attachment

Hi everyone,I am running into a permission issue when trying to query data from an external S3 storage location managed through Unity Catalog.Here are the symptoms:The Setup: Storage credentials and an external location were successfully created, and...

  • 603 Views
  • 5 replies
  • 3 kudos
Latest Reply
Fastlearning272
New Contributor
  • 3 kudos

This type of issue can sometimes occur when AWS IAM permissions are correctly configured, but Unity Catalog is unable to authorize access through the storage credential or external location. I would recommend checking a few things before changing the...

  • 3 kudos
4 More Replies
johnb1
by • Contributor II
  • 979 Views
  • 10 replies
  • 5 kudos

Resolved! Materialized Views - Strange Difference in Refresh Performance

I have built the same materialized view twice with only one difference: mv01 does incremental refresh and mv02 does full refresh.The mv reads from 7 tables and 1 mv, performs unions, joins, anti-joins as well as filters, and calculates columns on the...

  • 979 Views
  • 10 replies
  • 5 kudos
Latest Reply
Fastlearning272
New Contributor
  • 5 kudos

The incremental refresh may actually be doing more work because of the complexity of the query and how changes propagate through joins, unions, and anti-joins. I’d be interested to know whether the query plan shows expensive change detection or recom...

  • 5 kudos
9 More Replies
Labels