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.
1 parent 1bdf835 commit 0d86f65Copy full SHA for 0d86f65
src/execution_plans/stage.rs
@@ -511,13 +511,15 @@ impl DisplayAs for StageExec {
511
}
512
Some(display_ctx) => {
513
for (i, _) in self.tasks.iter().enumerate() {
514
+ let mut extra_spacing = "".to_string();
515
if i > 0 {
- writeln!(f)?;
516
+ writeln!(f)?; // Add newline for each task
517
+ extra_spacing = " ".repeat(self.depth); // with_indent() in DisplayableExectutionPlan will not add indentation for tasks, so we add it manually.
518
519
writeln!(
520
f,
521
"{}{}{}{} {}",
- " ".repeat(self.depth),
522
+ extra_spacing,
523
LTCORNER,
524
HORIZONTAL.repeat(5),
525
format!(" {} ", self.name),
0 commit comments