Question 380
A repeated query spends most time on a sort required by an unnecessary global ORDER BY in an intermediate table. How should the team resolve this issue?
Explanation
Correct Answer
Global ordering can force expensive redistribution without adding business value.
Incorrect Answers
Check broadcast size and memory before choosing an adaptive or shuffle join strategy: check broadcast size and memory before choosing an adaptive or shuffle join strategy. This does not replace remove or scope the sort where global ordering is not part of the required result contract.
Inspect shuffle spill, partition sizes and available memory before adjusting execution settings: inspect shuffle spill, partition sizes and available memory before adjusting execution settings: spill reflects execution-state pressure that may not be fixed by input file compaction alone.
Diagnose shuffle bytes and skew, then evaluate supported adaptive execution or repartitioning methods: shuffle cost can dominate computation even when scan time is low.






Certified Data Engineer Professional Practice Tests