alamb commented on code in PR #25041:
URL: https://github.com/apache/datafusion/pull/25041#discussion_r4185977278
##########
datafusion/datasource-parquet/src/sink.rs:
##########
@@ -698,6 +673,16 @@ async fn send_arrays_to_col_writers(
Ok(())
}
+/// Join a failed worker so its original error reaches the caller immediately.
+async fn column_writer_error(task: ColumnWriterTask) -> Result<()> {
+ task.join_unwind()
+ .await
+ .map_err(|e| DataFusionError::ExecutionJoin(Box::new(e)))??;
+ Err(internal_datafusion_err!(
Review Comment:
I think this should be an execution error (rather than an internal error)
--
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]