Troubleshooting

Lakehouse runtimeDownload PDF (5.6 MB)
Symptom Cause Fix
Run query is greyed out No session is running, or no query tab is active Pick a compute, start a session and select a query tab
"please select Compute" You pressed start without choosing a compute Open the Compute list and pick a size
"Session start failed" The session was not ready in 180 seconds Try again in a moment
"The lakehouse session is not reachable. Start the session and try again." The session stopped (30 minutes idle, or you stopped it) Start a new session; tables are unchanged
"The lakehouse session did not answer in time. Try again in a moment." The session was busy or restarting Wait a moment and run again
Use fully qualified table names. A table was written without its database, or you used USE Write database.table everywhere
'Use' keyword not allowed. You ran USE db Remove it and qualify names
Access denied: Unable to determine operations for authorization. The statement names no table (SELECT 1, EXPLAIN) Query a table, or run a different statement
Access denied: Unable to parse query for authorization. The SQL has a syntax error Fix the syntax; Format SQL can help spot it
Following namespaces specified in the query does not exist: A database name is misspelled or missing Check the tree, or CREATE DATABASE
You do not have All or Select permission You lack that action on the table or database Ask an administrator for the grant, or check Table Access Manager for a deny
Table access blocked by protected policy The table's policy uses Block raw reads Ask the table's owner for a different access route
Masked columns cannot be used in WHERE clauses The query filters, groups, sorts or joins on a masked column Select the column and use a different column to filter
Metadata tables of … have data policies A policy protects the table Query the table itself
Text after -- is ignored Line breaks are removed before sending Use /* ... */ comments
Only the first statement ran Several statements in one tab Run one statement per tab
A division or cast raises an error ANSI mode Use try_divide, nullif or try_cast
"Still running. Results load here when the query finishes." The query takes more than about 55 seconds Wait, or press Stop query
"Query ran longer than 30 minutes and was stopped." The limit was reached Filter earlier, use more workers, or write the result with CREATE TABLE ... AS SELECT
"This session is already running 4 queries. ..." Four queries are running Stop one, or wait
"The session no longer has this query. Run it again." The 15-minute hold on the result ended Run the query again
Export button is missing The result fits in the 100,000 rows kept Use Download current page as CSV
"This export is larger than 5 GB, the most one download can hold. ..." The single-file limit Add a filter, select fewer columns, or CREATE TABLE ... AS SELECT
"This result is too large to page through or export here (limit: 50,000,000 rows or 20 GiB). ..." The result is larger than the maximum Filter, or save it as a table
"Preparing the full result took too long and was stopped. ..." Preparation exceeded its time Narrow the query, then try again
"Stopped because nobody was waiting for it any more." The page was closed for 3 minutes while preparing Run and export again
"Deep paging and export aren't available for this warehouse: its bucket encryption doesn't allow Groundzero to write temporary results." The bucket's encryption settings block temporary files Ask the bucket owner to allow Groundzero to write encrypted results
"Could not get access to the warehouse bucket for this result. Try again in a moment." Temporary access could not be obtained Retry
"Could not read the prepared result. Run the query again." The prepared result files could not be read Run the query again
"Only a finished SELECT result can be paged or exported." The result came from a UNION, VALUES or other form, or is not finished Wrap in SELECT * FROM (...)
"Page n is out of range. Total pages: t for page size s." The page does not exist for that page size Go to page 1
"This page is past the rows kept in memory. Prepare the full result to page further." You paged beyond the first 100,000 rows Use the prepare option in the grid
"Key already exists." A saved query has that name Choose another name
Warehouse cannot be deleted while it contains resources. ... It still holds databases, tables or views Drop them first
"Delete its tables and views first." A database to be deleted is not empty Drop its tables and views
"Backup name … already exists" The backup name is used Choose a new name
"Backup … has expired in S3 and was removed from the catalog. ..." Its retention ended Take a fresh backup
Audit logs: "Unauthorized access" Only administrators can read them Ask an administrator
Recent audit rows are missing Rows are written in batches Refresh after about 30 seconds
A MERGE fails because several source rows match one target row The staging data has duplicate keys De-duplicate the source