Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rafiqahmed
New Contributor II

Read and write to different lakehouses using notebook in same workspace

Hello,

My goal is to read data from one lakehouse table, clean the table and save in another lakehouse in same workspaces.

 

 

I am getting table not fund error:

df = spark.sql("SELECT * FROM GoldLakehouse.SalesInvoiceHeaders LIMIT 1000")
display(df)
rafiqahmed_1-1744029063753.png

 


 

 

1 ACCEPTED SOLUTION
rafiqahmed
New Contributor II

The problem is solved for me.

 

I created the second lakehouse using Lakehouse Schemas checkbox checked. 

rafiqahmed_1-1744033934467.png

That might be causing the issue, I deleted the lakehouse and created again with Lakehouse schemas checkbox unchecked. Open notebook , Now I can read from one lakehouse table and write to other lakehouse table in same workspace.

 

Thanks

 

View solution in original post

2 REPLIES 2
rafiqahmed
New Contributor II

The problem is solved for me.

 

I created the second lakehouse using Lakehouse Schemas checkbox checked. 

rafiqahmed_1-1744033934467.png

That might be causing the issue, I deleted the lakehouse and created again with Lakehouse schemas checkbox unchecked. Open notebook , Now I can read from one lakehouse table and write to other lakehouse table in same workspace.

 

Thanks

 

Anonymous
Not applicable

Hi @rafiqahmed,

 

Thank you for sharing your update and confirming that you dont have any issue. i request you to please accept your own post as the solution, this will help other community members who might face a similar issue.

 

Regards,

Vinay Pabbu

Helpful resources

Announcements
Users online (27)