Forum Discussion
Creating views from spark notebook into SQL analytics endpoint?
- 2 years ago
You can create the views directly in the Lakehouse's SQL Analytics Endpoint.
You can create the views directly in the Lakehouse's SQL Analytics Endpoint.
- somewhereels2 years agoFrequent Visitor
Thankyou, I was worried this was the case. I was hoping that I could use spark notebooks because I cant automate the run of view scripts in a lakehouse via a pipeline.
- Anonymous2 years agoNot applicable
Hi somewhereels ,
If you are looking for a method to query the lakehouse from fabric pipeline then you can achieve a similar result using a script activity.
Take the SQL analytics endpoint from the lakehouse to create a new cloud connection - use External as an option and run the query against the cloud connection within the pipeline. Just ran and works.
Steps to connect to Lakehouse Endpoint using Script Activity:
1. Copy the SQL Endpoint from Lakehouse.
2. In Script, click on External and then Azure SQL Database, fill the details and use Organizational Account to establish connection.
3. Check the connection
4. Execute it
In your case, if you want to create a view,Result:
FYI: Support for SQL endpoint for Lakehouse is in our backlog but we don't have a ETA.
Hope this is is helpful. Please let me know incase of further queries.- Anonymous2 years agoNot applicable
Hi somewhereels ,
We haven’t heard from you on the last response and was just checking back to see if workaround helped you?