Skip to content

Commit a6cf5de

Browse files
committed
debug to displayable
1 parent d198e90 commit a6cf5de

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

datafusion/core/src/physical_planner.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,13 +2094,10 @@ impl DefaultPhysicalPlanner {
20942094
displayable(new_plan.as_ref()).indent(false)
20952095
);
20962096

2097-
// This is potentially very large, so only log at trace level,
2098-
// otherwise it can overflow the tokio runtime stack.
2099-
//
2100-
// For example:
2101-
// thread 'tokio-runtime-worker' has overflowed its stack
2102-
// fatal runtime error: stack overflow, aborting
2103-
trace!("Detailed optimized physical plan:\n{new_plan:?}");
2097+
debug!(
2098+
"Detailed optimized physical plan:\n{}\n",
2099+
displayable(new_plan.as_ref()).indent(true)
2100+
);
21042101
Ok(new_plan)
21052102
}
21062103

0 commit comments

Comments
 (0)