Skip to content

Commit 8f009a2

Browse files
committed
Fix fmt and test
1 parent e943055 commit 8f009a2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

datafusion/physical-plan/src/sorts/sort_preserving_merge.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ impl DisplayAs for SortPreservingMergeExec {
204204
write!(f, ", ")?;
205205
}
206206
}
207+
207208
if let Some(fetch) = self.fetch {
209+
writeln!(f)?;
208210
writeln!(f, "limit={fetch}")?;
209211
};
210212

datafusion/sqllogictest/test_files/explain_tree.slt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,10 +1696,10 @@ physical_plan
16961696
01)┌───────────────────────────┐
16971697
02)│ SortPreservingMergeExec │
16981698
03)│ -------------------- │
1699-
04)│ ticker ASC NULLS LAST,
1700-
05)│ time ASC NULLS
1701-
06)│ LASTlimit:
1702-
07)│ 5
1699+
04)│ limit: 5
1700+
05)│
1701+
06)│ ticker ASC NULLS LAST,
1702+
07)│ time ASC NULLS LAST
17031703
08)└─────────────┬─────────────┘
17041704
09)┌─────────────┴─────────────┐
17051705
10)│ CoalesceBatchesExec │

0 commit comments

Comments
 (0)