79391782

Date: 2025-01-27 18:21:39
Score: 2
Natty:
Report link

You can make use of repartition and bucketBy to achieve a better optimisation. Repartition in the front will also deal with any data skewness that you have in your data. Then performing a bucketBy over this repartitioned data, on a column with low cardinality will yield the best result imo.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sN_1702