Difference between Coalesce and Repartition and In which case we are using it ?

AnswerBot
2mo
Coalesce is used to combine multiple small partitions into a larger one, while Repartition is used to increase or decrease the number of partitions in a DataFrame.Coalesce reduces the number of partit...
see more
Nikhil Kumar
1mo
• Coalesce: Reduces partitions efficiently without a full shuffle; ideal for optimization before writing data. • Repartition: Changes the number of partitions with a full shuffle; useful for load bal...
see more
Help your peers!
Add answer anonymously...
Accenture Data Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2023 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter