mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
fix use of display_comma_separated
This commit is contained in:
parent
774daf5661
commit
330a9252af
1 changed files with 3 additions and 1 deletions
|
@ -2890,7 +2890,9 @@ impl PipeOperator {
|
|||
}
|
||||
}
|
||||
write!(f, " ")?;
|
||||
write!(f, "{}", display_comma_separated(queries))
|
||||
let parenthesized_queries: Vec<String> =
|
||||
queries.iter().map(|query| format!("({})", query)).collect();
|
||||
write!(f, "{}", display_comma_separated(&parenthesized_queries))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue