zhaoyunhai1216 opened a new issue #3703:
URL: https://github.com/apache/iceberg/issues/3703


   ` Column joinCond = nameEqual.and(actualContains);
       List<String> orphanFiles = actualFileDF.join(validFileDF, joinCond, 
"leftanti")
           .as(Encoders.STRING())
           .collectAsList();
   
       Tasks.foreach(orphanFiles)
           .noRetry()
           .suppressFailureWhenFinished()
           .onFailure((file, exc) -> LOG.warn("Failed to delete file: {}", 
file, exc))
           .run(deleteFunc::accept);`
   
   
   spark all path collect to driver,When there are too many files,outofmemory 
,It doesn't make sense, Deletion should be performed directly on the cluster 
rather than being collected to the driver for deletion,I can't carry it out now


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to