Skip to content

Commit ae8d2bb

Browse files
authored
Merge pull request #40 from datafusion-contrib/fix-compilation-error
Fix compilation error in explain.rs
2 parents c78719c + 6c4960e commit ae8d2bb

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)