Skip to content

Commit f28f944

Browse files
committed
lint
1 parent 643c4b3 commit f28f944

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rewrite.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ impl std::fmt::Display for JsonOperator {
142142
fn expr_to_sql_repr(expr: &Expr) -> String {
143143
match expr {
144144
Expr::Column(Column { name, relation }) => relation
145-
.as_ref().map_or_else(|| name.clone(), |r| format!("{r}.{name}")),
145+
.as_ref()
146+
.map_or_else(|| name.clone(), |r| format!("{r}.{name}")),
146147
Expr::Alias(alias) => alias.name.clone(),
147148
Expr::Literal(scalar) => match scalar {
148149
ScalarValue::Utf8(Some(v)) | ScalarValue::Utf8View(Some(v)) | ScalarValue::LargeUtf8(Some(v)) => {

0 commit comments

Comments
 (0)