andygrove commented on code in PR #3801:
URL: https://github.com/apache/arrow-datafusion/pull/3801#discussion_r992850422


##########
datafusion/core/src/physical_plan/file_format/csv.rs:
##########
@@ -252,7 +252,13 @@ pub async fn plan_to_csv(
                 });
                 tasks.push(handle);
             }
-            futures::future::join_all(tasks).await;
+            let results = futures::future::join_all(tasks).await;
+            for result in results {
+                let result =
+                    result.map_err(|e| 
DataFusionError::Execution(format!("{}", e)))?;
+                let _ =
+                    result.map_err(|e| 
DataFusionError::Execution(format!("{}", e)))?;
+            }

Review Comment:
   That worked well. Thank you.



-- 
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]

Reply via email to