Pregunta de entrevista de Happen Bank

Spark data processing question. how do you optimize the job or something? Implement and show.