Skip to content

Commit a8688d2

Browse files
committed
wip
1 parent 7f982ee commit a8688d2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

datafusion/core/src/physical_optimizer/coalesce_batches.rs

-1
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

+5
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,11 @@ impl fmt::Display for DistributionContext {
15791579
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
15801580
let plan_string = get_plan_string(&self.plan);
15811581
write!(f, "plan: {:?}", plan_string)?;
1582+
write!(
1583+
f,
1584+
"has_recursive_ancestor: {:?}",
1585+
self.has_recursive_ancestor,
1586+
)?;
15821587
for (idx, child) in self.distribution_onwards.iter().enumerate() {
15831588
if let Some(child) = child {
15841589
write!(f, "idx:{:?}, exec_tree:{}", idx, child)?;

0 commit comments

Comments
 (0)