Pregunta de entrevista de Zalando

How does partitioning work in Spark