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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Read data through data frame

I want to read data from two lakehouses and write it to another lakehouse but during notebook run i've to set one default lakehouse so is there any possible way to do this.

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

Thanks for using Fabric Community. Yes it is possible to read data from default and write data in another lakehouse.

vgchennamsft_0-1710316233046.png


Reading Data from Default Lakehouse -

df = spark.sql("SELECT * FROM gopi_lake_house.customer_table1 LIMIT 1000")
display(df)


Writing Data to different lakehoue -

df.write.format("delta").saveAsTable("gopi_test_lakehouse.sales_external")


Hope this is helpful. Please let me know incase of further queries.

Anonymous
Not applicable

i want to read data from two different lakehouses in single notebook and write to another

Anonymous
Not applicable

Hi @Anonymous ,

Please correct if my understanding is wrong.

As per my understanding, you can read tables from different lakehouse in single notebook and can save it as table in different lakehouse.

vgchennamsft_0-1710406268535.png


Note: Default Lakehouse is gopi_bronze here.

Hope this is helpful. Please let me know incase of further queries.

Anonymous
Not applicable

Hello @Anonymous ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .

Anonymous
Not applicable

Hi @Anonymous ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
In case if you have any resolution please do share that same with the community as it can be helpful to others .
Otherwise, will respond back with the more details and we will try to help .

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.