QuestionQ56
VerifiedExecuting queries using Databricks SQL and Databricks SQL WarehousesA data analyst works in a Databricks workspace with Unity Catalog enabled. When using a shared SQL Warehouse, the analyst runs:
SELECT * FROM sales_data;
The query returns a TABLE_OR_VIEW_NOT_FOUND error, even though:
- The
sales_datatable exists in thereportingschema of thecorp_datacatalog. - The analyst has
SELECTandUSAGEprivileges on thecorp_data.reporting.sales_datatable. - Another user who runs the same query in a notebook attached to a cluster can retrieve results without fully qualifying the table.
Which action helps the analyst resolve the issue without rewriting the query?
Community Discussion