Skip to content
RED SAGSkills
medium10 pts · first answer countssparkspark-tuning

An iterative loop that gets slower

A job updates a DataFrame in a loop 100 times (df = df.join(...).withColumn(...)). Each iteration gets slower and planning takes minutes. What is a standard fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions