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:ย 

flattening json in dlt pipeline

carlos_tasayco
Contributor

Hi,

I have in my bronze schema json files, I am flattening them in a dataframe after that I am creating materialized views in a dlt pipeline, however, in production is taking a lot of time (over 3 hours) is not even a lot of data the biggest materialized views has only 370k rows. 

Any advice? should I use delta tables instead of dlt pipelines? or what do you do?

1 ACCEPTED SOLUTION

Accepted Solutions

carlos_tasayco
Contributor

At the end was a query problem, I was using crossjoin I removed this and my dlt pipeline worked well.

View solution in original post

3 REPLIES 3

Khaja_Zaffer
Contributor

isnt materilized view recompute on every run? did you try with incremental processing? 

Do you have any complex joins?

carlos_tasayco
Contributor

At the end was a query problem, I was using crossjoin I removed this and my dlt pipeline worked well.

Khaja_Zaffer
Contributor

Hello @carlos_tasayco 

 

As I mentioned whether you used any join, just wanted to ask, were this cross join were joining two large tables?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now