Skip to content

Commit 71d02b0

Browse files
committed
add missing any
1 parent 0a9a46f commit 71d02b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datafusion/sql/src/unparser/expr.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ impl Unparser<'_> {
312312
expr: Box::new(self.expr_to_sql_inner(expr)?),
313313
pattern: Box::new(self.expr_to_sql_inner(pattern)?),
314314
escape_char: escape_char.map(|c| c.to_string()),
315+
any: false,
315316
}),
316317
Expr::Like(Like {
317318
negated,
@@ -326,13 +327,15 @@ impl Unparser<'_> {
326327
expr: Box::new(self.expr_to_sql_inner(expr)?),
327328
pattern: Box::new(self.expr_to_sql_inner(pattern)?),
328329
escape_char: escape_char.map(|c| c.to_string()),
330+
any: false,
329331
})
330332
} else {
331333
Ok(ast::Expr::Like {
332334
negated: *negated,
333335
expr: Box::new(self.expr_to_sql_inner(expr)?),
334336
pattern: Box::new(self.expr_to_sql_inner(pattern)?),
335337
escape_char: escape_char.map(|c| c.to_string()),
338+
any: false,
336339
})
337340
}
338341
}

0 commit comments

Comments
 (0)