ScaDaMaLe Course site and book

Performance Tuning

Spark Sql Programming Guide

If you have read the spark-SQL paper and have some idea of how distributed sorting and joining work then you will need to know the following part of the programming guide to tune the performance of Spark SQL queries: