noklam05/24/2022, 11:04 AM
is that it is memory hungry, especially during I/O and certain operations. Using the
args helps to mitigate this problem by only loading & processing small batch of data and stitch them by at the end. If the new dataset already iterate through the entire dataset before you start applying any transformation logic, then it doesn't help your memory problem.