79454943

Date: 2025-02-20 15:10:19
Score: 1.5
Natty:
Report link

Yep, using .collectList() will load the entire file content in memory before processing, defeating your purpose of saving memory. On the other hand, using buffer() is good.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Janak Khorgade