https://www.thecodersstop.com/spark/spark-partitions-with-coalesce-and-repartition-hash-range-round-robin/
Spark Partitions with Coalesce and Repartition (hash, range, round robin)