QuestionQ210

VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.

A data engineer has observed that moving their applications from Spark 3.0 to Spark 3.5 has reduced the runtime of some scheduled Spark applications.

After further investigation, the data engineer finds that Adaptive Query Execution (AQE) is now enabled.

Which operation should AQE perform to automatically improve Spark application performance?

Explanation

Adaptive Query Execution re-optimizes Spark SQL query plans at runtime using actual execution statistics. It can convert a sort-merge join to a broadcast join or shuffled-hash join when runtime data makes that strategy more efficient, thereby dynamically switching join strategies.

Learn more

Community Discussion

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