QuestionQ143

VerifiedCost & Performance Optimisation

Which statement correctly describes the use of pyspark.sql.functions.broadcast?

Explanation

pyspark.sql.functions.broadcast marks a DataFrame as small enough for use in a broadcast join, enabling Spark to distribute that small DataFrame to executors rather than performing a shuffle-based join.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!