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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

Reply
bcdobbs
Community Champion
Community Champion

Notebook running from data pipeline wants a schema

Hi,

 

We have a data pipeline that tiggers a series of notebooks. They make use of saveAsTable when writing delta tables.

 

Pipeline and notebooks haven't changed and have run fine for months however as of yesterday when the pipeline runs the notebooks throw errors about not having a shema. The odd thing is if I run the notebooks individually they work fine.

 

Is this a change microsofts side ready for lakehouse schema support and what's the best way to fix.

 

Full error when notebook runs in pipeline context is:

"Notebook execution failed at Notebook service with http status code - '200', please check the Run logs on Notebook, additional details - 'Error name - AnalysisException, Error value - [SCHEMA_NOT_FOUND] The schema `Lakehouse_Dev.LH_Raw.LH_Raw` cannot be found. Verify the spelling and correctness of the schema and catalog.
If you did not qualify the name with a catalog, verify the current_schema() output, or qualify the name with the correct catalog.
To tolerate the error on drop use DROP SCHEMA IF EXISTS.' : "

 

(Workspace is Lakehouse_Dev, Lakehouse is LH_Raw) The notebook works fine on it's own.

 

Ben



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
1 ACCEPTED SOLUTION

Yes schema support is very much still in preview but we're not using Schema supported lakehouses. It feels like the data pipeline is making the notebook think the lakehouses are schema supported.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

4 REPLIES 4
Srisakthi
Resolver II
Resolver II

Hi @bcdobbs ,

 

Need to explore further. May be Lakehouse Schema is still in preview.

 

Regards,

Srisakthi

Yes schema support is very much still in preview but we're not using Schema supported lakehouses. It feels like the data pipeline is making the notebook think the lakehouses are schema supported.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Srisakthi
Resolver II
Resolver II

Hi @bcdobbs ,

 

Yeah its a strange when pipeline suddenly stops running.

In your error message it has LH_Raw.LH_Raw why it is displaying schema name twice ? Is there any change in your pipeline or its parameters?.

'Error name - AnalysisException, Error value - [SCHEMA_NOT_FOUND] The schema `Lakehouse_Dev.LH_Raw.LH_Raw` cannot be found.

 

Regards,

Srisakthi

Afraid not. Notebook is doing 

saveAsTable(LH_Raw.table_name).

 

It runs ok on it's own but it feels like when it runs in context of notebook it thinks the lakehouse is schema enabled and suddenly expects workspace.lakehouse.schema. table_name instead



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Helpful resources

Announcements
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!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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