SnowPro Advanced: Data Engineer — Question 82
This query was executed:
SELECT SYSTEM$EXPLAIN_PLAN_JSON( 'SELECT Z1.ID, Z2.ID FROM Z1, Z2 WHERE Z2.ID = Z1.ID' ) AS explain_plan;
What information will be provided in the results?
Answer options
- A. Average partition overlap
- B. Total partitions scanned
- C. Average clustering depth
- D. Clustering errors
Correct answer: B
Explanation
The correct answer is B, as the SYSTEM$EXPLAIN_PLAN_JSON function provides a detailed breakdown of the execution plan, which includes the total number of partitions scanned during the query execution. The other options, such as average partition overlap, average clustering depth, and clustering errors, do not pertain to the specific output of this function.