Microsoft Fabric Notebook Execution: AnalysisException

While executing a Fabric Notebook, I got the below error.

AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Spark SQL queries are only possible in the context of a lakehouse. Please attach a lakehouse to proceed.) 

The reason for this error is, I did not add the relevant Lakehouse to the Notebook.
We need to add the relevant Lakehouse as below:


After that you will not get the above error message.
Hope this will be helpful.



No comments:

Post a Comment

tablename_WriteToDataDestination: Mashup Exception Data Source Error Couldn't refresh the entity...

 Once a Dataflow is created and published on Fabric, got the below error while refreshing the Dataflow. tablename_ WriteToDataDestination: M...