Training
Certification
Microsoft Certified: Azure Cosmos DB Developer Specialty - Certifications
Write efficient queries, create indexing policies, manage, and provision resources in the SQL API and SDK with Microsoft Azure Cosmos DB.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article outlines how to use the Azure Databricks UI to access and manage queries.
You can view queries using the following methods:
You can organize queries into folders in the workspace browser and other Databricks objects. See Workspace browser.
You must be a workspace admin to transfer ownership of a query. Service principals and groups cannot be assigned ownership of a query. You can also transfer ownership using the Permissions API.
As a workspace admin, log in to your Azure Databricks workspace.
In the sidebar, click Queries.
Click a query.
Click the Share button at the top right to open the Sharing dialog.
Click on the gear icon at the top right and click Assign new owner.
Select the user to assign ownership to.
Click Confirm.
Workspace admins and the query creator are automatically granted permissions to control which users can manage and run queries. You must have at least CAN MANAGE permission on a query to share queries.
Queries support two types of sharing settings:
For more information on query permission levels, see Query ACLs.
In the sidebar, click Queries.
Click a query.
Click the button at the top right to open the Sharing dialog.
Follow the steps based on the permission type you want to grant:
Search for and select the groups and users, and assign the permission level.
Click Add.
In the Sharing settings > Credentials field at the bottom, select either Run as viewer or Run as owner.
You can also copy the link to the query in the Sharing dialog.
An Azure Databricks workspace admin user has view access to all queries in the workspace. When the All Queries tab is selected, a workspace admin can view and delete any queries. However, a workspace admin can't edit a query when sharing setting credentials are set to Run as owner.
To view all queries:
You can create queries without using the Azure Databricks UI using the Rest API, a JDBC/ODBC connector, or a partner tool.
See SQL connectors, libraries, drivers, APIs, and tools to run SQL commands and browse database objects in Azure Databricks.
You can also create a query with the Databricks Terraform provider and databricks_sql_query.
See Technology partners to learn about partner tools you can use through Partner Connect.
Training
Certification
Microsoft Certified: Azure Cosmos DB Developer Specialty - Certifications
Write efficient queries, create indexing policies, manage, and provision resources in the SQL API and SDK with Microsoft Azure Cosmos DB.