tustvold commented on code in PR #2352:
URL: https://github.com/apache/arrow-rs/pull/2352#discussion_r939673201


##########
object_store/src/multipart.rs:
##########
@@ -185,10 +186,15 @@ where
 
         // If shutdown task is not set, set it
         let parts = std::mem::take(&mut self.completed_parts);
+        let parts = parts.into_iter().map(Option::unwrap).collect();

Review Comment:
   I need to double-check if this needs to propagate an error, I'm not sure 
under what circumstances a part might be missing



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to