Skip to content

Commit 9b6157e

Browse files
committed
Undo display changes for other operators
1 parent b08d9b1 commit 9b6157e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ast/query.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,7 +2707,7 @@ impl fmt::Display for PipeOperator {
27072707
PipeOperator::Limit { expr, offset } => {
27082708
write!(f, "LIMIT {}", expr)?;
27092709
if let Some(offset) = offset {
2710-
write!(f, "OFFSET {}", offset)?;
2710+
write!(f, " OFFSET {}", offset)?;
27112711
}
27122712
Ok(())
27132713
}
@@ -2719,12 +2719,12 @@ impl fmt::Display for PipeOperator {
27192719
if !full_table_exprs.is_empty() {
27202720
write!(
27212721
f,
2722-
"{}",
2722+
" {}",
27232723
display_comma_separated(full_table_exprs.as_slice())
27242724
)?;
27252725
}
27262726
if !group_by_expr.is_empty() {
2727-
write!(f, "GROUP BY {}", display_comma_separated(group_by_expr))?;
2727+
write!(f, " GROUP BY {}", display_comma_separated(group_by_expr))?;
27282728
}
27292729
Ok(())
27302730
}

0 commit comments

Comments
 (0)