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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
kurnivannoery
Regular Visitor

Cannot Cross-workspace Spark SQL queries in Microsoft Fabric

I encountered the error [REQUIRES_SINGLE_PART_NAMESPACE] while trying to perform cross-workspace Spark SQL queries in Microsoft Fabric. The error states that 'spark_catalog requires a single-part namespace,' but I received 'Workspace.Lakehouse.dbo.' Do you have any solutions?

1 ACCEPTED SOLUTION

this issue is solved by adding lakehouse in notebook, if you didn't add lakehouse you can query lakehouse data.

View solution in original post

3 REPLIES 3
FabianSchut
Super User
Super User

Hi @kurnivannoery,

 

Did you enable schemas in both lakehouses? This is necessary to achieve this result: "Make sure you join tables only from lakehouses that have schemas enabled. Joining tables from lakehouses that don’t have schemas enabled won’t work.".

What is the complete query you are using?

this issue is solved by adding lakehouse in notebook, if you didn't add lakehouse you can query lakehouse data.

Anonymous
Not applicable

Hi @kurnivannoery 

Glad that you have solved it! Do you mean choosing a default Lakehouse for your notebook? Can you share the final query statement that works? This would help people who may encounter similar errors. 

 

Update:

I made a test. When selecting the lakehouse as the default lakehouse of the notebook, the query works without error. 

vjingzhanmsft_0-1727244233962.png

 

Best Regards,
Jing

Community Support Team

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

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

Top Kudoed Authors