Skip to content

Commit 1aa14d7

Browse files
committed
Resolve conflicts
1 parent caf9ba8 commit 1aa14d7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

crates/integrations/datafusion/src/physical_plan/commit.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ impl IcebergCommitExec {
8484
let count_array = Arc::new(UInt64Array::from(vec![count])) as ArrayRef;
8585

8686
RecordBatch::try_from_iter_with_nullable(vec![("count", count_array, false)]).map_err(|e| {
87-
DataFusionError::ArrowError(e, Some("Failed to make count batch!".to_string()))
87+
DataFusionError::ArrowError(
88+
Box::new(e),
89+
Some("Failed to make count batch!".to_string()),
90+
)
8891
})
8992
}
9093

crates/integrations/datafusion/src/physical_plan/write.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ impl IcebergWriteExec {
100100
let files_array = Arc::new(StringArray::from(data_files)) as ArrayRef;
101101

102102
RecordBatch::try_new(Self::make_result_schema(), vec![files_array]).map_err(|e| {
103-
DataFusionError::ArrowError(e, Some("Failed to make result batch".to_string()))
103+
DataFusionError::ArrowError(
104+
Box::new(e),
105+
Some("Failed to make result batch".to_string()),
106+
)
104107
})
105108
}
106109

0 commit comments

Comments
 (0)