MetricSign
EN|NLRequest Access
Medium severityexecution

Power BI Refresh Error:
000630 (57014)

What does this error mean?

A Snowflake SQL statement was canceled because it exceeded the statement timeout limit. The query was actively running but was killed before completing.

Common causes

  • 1A full table scan on a large table without partition pruning or clustering key benefit
  • 2A complex join between large tables that requires a massive sort or hash operation
  • 3The STATEMENT_TIMEOUT_IN_SECONDS parameter is set too low for the query complexity
  • 4Warehouse size is too small to process the query within the timeout
  • 5A runaway query caused by an accidental cartesian join

How to fix it

  1. 1Use EXPLAIN to review the query execution plan and identify full table scans or large joins
  2. 2Add partition filters or use clustering keys to reduce the data scanned
  3. 3Increase STATEMENT_TIMEOUT_IN_SECONDS for the session or user if the query is genuinely complex
  4. 4Scale up the virtual warehouse to process the query faster
  5. 5Check for cartesian joins (missing join conditions) and add the correct join predicate

Frequently asked questions

Where is STATEMENT_TIMEOUT_IN_SECONDS configured?

It can be set at the account, user, session, or warehouse level. Check: SHOW PARAMETERS LIKE 'STATEMENT_TIMEOUT%' IN SESSION.

Does canceling a query cause a data inconsistency?

No — Snowflake uses ACID transactions. A canceled statement rolls back automatically, leaving the data in a consistent state.

Other execution errors