rdblue commented on code in PR #4704:
URL: https://github.com/apache/iceberg/pull/4704#discussion_r868754542
##########
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/source/SparkWrite.java:
##########
@@ -204,6 +205,7 @@ private void commitOperation(SnapshotUpdate<?> operation,
String description) {
private void abort(WriterCommitMessage[] messages) {
Map<String, String> props = table.properties();
Tasks.foreach(files(messages))
+ .executeWith(writeConf.deleteFilesParallelWhenAbort() ?
ThreadPools.getWorkerPool() : null)
Review Comment:
I'd probably use the worker pool for now. No need to extend it until someone
needs it.
--
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]