How can you control whether a file is a Notebook or a Query? Long story short - can you do anything to make Databricks recognise a .dbquery.ipynb file as a query and open it in SQL Warehouse?
I created a file in my git folder as a query. All good. Then deployed it into another workspace using a DAB. However, when I open the query file in the new workspace, it opens as a notebook. However, if I open through a git folder in new workspace, it does open in SQL Warehouse. I can't seem to get the DAB-deployed location to open as a query in SQL Warehouse though, even if selected SQL Editor as the context, etc.
The kicker is I need to deploy into a 3rd workspace where (separation of responsibilities) the Databricks user profile won't have access to git...
Is it as dumb as "you need to copy all the content from workbook into query?"
The main difference is the (new) SQL Warehouse view will show the output of many queries, whereas a notebook only shows the last.