Skip to content

Commit 4acde31

Browse files
committed
fix the example test
1 parent 433531d commit 4acde31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion-examples/examples/plan_to_sql.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn simple_expr_to_sql_demo() -> Result<()> {
5050
let expr = col("a").lt(lit(5)).or(col("a").eq(lit(8)));
5151
let ast = expr_to_sql(&expr)?;
5252
let sql = format!("{}", ast);
53-
assert_eq!(sql, r#"(("a" < 5) OR ("a" = 8))"#);
53+
assert_eq!(sql, r#"((a < 5) OR (a = 8))"#);
5454
Ok(())
5555
}
5656

0 commit comments

Comments
 (0)