Skip to content

Commit 6c4960e

Browse files
committed
Fix compilation error in explain.rs
1 parent c78719c commit 6c4960e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/explain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl ExecutionPlan for DistributedExplainExec {
162162

163163
let batch =
164164
RecordBatch::try_new(schema.clone(), vec![Arc::new(plan_types), Arc::new(plans)])
165-
.map_err(|e| datafusion::error::DataFusionError::ArrowError(e, None))?;
165+
.map_err(|e| datafusion::error::DataFusionError::ArrowError(Box::new(e), None))?;
166166

167167
// Use MemoryStream which is designed for DataFusion execution plans
168168
let stream = MemoryStream::try_new(vec![batch], schema, None)?;

0 commit comments

Comments
 (0)