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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
alirng
Frequent Visitor

Saving table to a different lakehouse

Hi All,

 

We have setup 3 lakehouses within our fabric instance as we are employing a medallion architecture of bronze, silver and gold. The lakehouses are names respectively. The bronze lakehouse contains all raw uncleaned data the silver one will contain cleaned and report ready data and gold will contain aggregated data.

 

I have written a pyspark notebook that loads in a list of tables and cleans them I would then like to save these tables in the silver lake, currently attempting to do this by using the write command yields in the following error 

{"error":{"code":"Unauthorized","message":"Authentication Failed with Bearer token is not present in the request","requestId":null,"time":null,"detail":null}}

I can confirm that the lakehouse is added to the notebook instance, I just can seem to save to it with this being the path "silver_lake/Tables/tablename"

 

Am I going about this the wrong way? 

3 REPLIES 3
Anonymous
Not applicable

Hello @alirng ,
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 .

Anonymous
Not applicable

Hello @alirng ,
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 .
If you have any question relating to the current thread, please do let us know and we will try out best to help you.
In case if you have any other question on a different issue, we request you to open a new thread .

Anonymous
Not applicable

Hi @alirng  - Thanks for using Fabric Community,

As I understand while you were implementing a medallion architecture in your fabric, you landed up with an issue when saving these tables in the silver lakehouse.

Inorder to save your file in a lakehouse apart from the default lakehouse you need to use ABFS path and if you are saving it as a table try using lakehouse_name.table_name

Please find the screenshot below:
gold.png

Also can you please share some screenshots of your issue and code you are using to save the file, so I can guide you better.

Hope this is helpful. Please feel free incase of any queries.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

Check out the November 2024 Fabric update to learn about new features.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.