title: How to merge small files in SparkSQL?
body: <p>I am running a Spark application using SparkSQL. How do I merge small files? I know about <code>.repartition</code> and <code>.coalesce</code> but this can't be done using SparkSQL.</p>