Skip to content

Commit 81c3439

Browse files
committed
wip
1 parent 86db8cf commit 81c3439

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

datafusion/core/src/physical_optimizer/coalesce_batches.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ impl TreeNode for CoalesceContext {
126126
}
127127
}
128128

129-
/// implement Display method for `DistributionContext` struct.
130129
impl fmt::Display for CoalesceContext {
131130
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
132131
let plan_string = get_plan_string(&self.plan);

datafusion/core/src/physical_optimizer/enforce_distribution.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,11 @@ impl fmt::Display for DistributionContext {
16141614
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
16151615
let plan_string = get_plan_string(&self.plan);
16161616
write!(f, "plan: {:?}", plan_string)?;
1617+
write!(
1618+
f,
1619+
"has_recursive_ancestor: {:?}",
1620+
self.has_recursive_ancestor,
1621+
)?;
16171622
for (idx, child) in self.distribution_onwards.iter().enumerate() {
16181623
if let Some(child) = child {
16191624
write!(f, "idx:{:?}, exec_tree:{}", idx, child)?;

0 commit comments

Comments
 (0)