Skip to content

Apache DataFusion SQL Query Engine

Minor add clarifying comment in parquet (#2127)

Andrew Lambf619d43494e1
diff --git a/datafusion/core/src/physical_plan/file_format/parquet.rs b/datafusion/core/src/physical_plan/file_format/parquet.rs
index e0e83c165c..6a0a6190c2 100644
--- a/datafusion/core/src/physical_plan/file_format/parquet.rs
+++ b/datafusion/core/src/physical_plan/file_format/parquet.rs
@@ -515,7 +515,8 @@ fn read_partition(
Some(Err(e)) => {
let err_msg =
format!("Error reading batch from {}: {}", partitioned_file, e);
- // send error to operator
+ // send_result error, if any, should not overwrite
+ // the original ArrowError, so ignore it
let _ = send_result(
&response_tx,
Err(ArrowError::ParquetError(err_msg.clone())),