We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 700b1de + b728287 commit 625399fCopy full SHA for 625399f
src/execution_plans/stage.rs
@@ -262,8 +262,15 @@ impl ExecutionPlan for StageExec {
262
) -> Result<datafusion::execution::SendableRecordBatchStream> {
263
let channel_resolver = get_distributed_channel_resolver(context.session_config())?;
264
265
- let assigned_stage = self
266
- .try_assign_urls(&channel_resolver.get_urls()?)
+ let stage = self
+ .as_any()
267
+ .downcast_ref::<StageExec>()
268
+ .expect("Unwrapping myself should always work");
269
+
270
+ let urls = channel_resolver.get_urls()?;
271
272
+ let assigned_stage = stage
273
+ .try_assign_urls(&urls)
274
.map(Arc::new)
275
.map_err(|e| DataFusionError::Execution(e.to_string()))?;
276
0 commit comments