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
DebbieE
Honored Contributor

Fabric Notebook. getting a message that the current session is using the previous Default lakehouse

I can't get rid of this message when I go to my notebook.

 

The Delta lake it goes to has been deleted.

I can see the current one in the list but its greyed out so I cant use it. And every time I start spark I get this message. Even though the code works (Up to creating the PARQUET file from the data frame I have created) can anyone tell me how to resolve this because I have been trying all mroning

 

NotebookOpeningOnnotdefaultIssue.png

1 ACCEPTED SOLUTION
Expiscornovus
Contributor III

Hi @DebbieE,

 

You can use the %%configure magic to set a different lakehouse as the default for your Spark session

https://learn.microsoft.com/en-us/fabric/data-engineering/author-execute-notebook#spark-session-conf...

 

Below is an example

 

%%configure
{
    "defaultLakehouse": {  
        "name": "FourthLakehouse"
    }
}

 

defaultlakehouse_notebook.png

 



Happy to help out ๐Ÿ™‚

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

View solution in original post

3 REPLIES 3
Expiscornovus
Contributor III

Hi @DebbieE,

 

You can use the %%configure magic to set a different lakehouse as the default for your Spark session

https://learn.microsoft.com/en-us/fabric/data-engineering/author-execute-notebook#spark-session-conf...

 

Below is an example

 

%%configure
{
    "defaultLakehouse": {  
        "name": "FourthLakehouse"
    }
}

 

defaultlakehouse_notebook.png

 



Happy to help out ๐Ÿ™‚

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
DebbieE
Honored Contributor

Fantastic. than worked. Thank you

v-cboorla-msft
Honored Contributor II

Hi @DebbieE 

 

Glad to know that your query got answered.

Please continue using Fabric Community on your further queries.

 

Thanks.

Helpful resources

Announcements
Users online (27)