Loading tutorials
Intermediate · Mid: 18 chapters · 41 min read. States assumed prerequisites
Start readingEXPLAIN on a query, as covered in the previous chapter. EXPLAIN shows the plan Spark intends to run. The Query Profile shows what actually happened when the query ran.OPTIMIZE fixes the most common layout problem.EXPLAIN and know what a shuffle is. It also assumes you have run ANALYZE TABLE at least once. If not, review the earlier chapters on query plans and statistics first.OPTIMIZE and ANALYZE TABLE (covered in earlier chapters), and work with Unity Catalog managed tables.