Pergunta de entrevista da empresa Lenovo

Q: What is the differences between repartition and coalesce in Spark