diff --git a/datafusion-examples/examples/plan_to_sql.rs b/datafusion-examples/examples/plan_to_sql.rs index 3915d3991f769..77aec852c7590 100644 --- a/datafusion-examples/examples/plan_to_sql.rs +++ b/datafusion-examples/examples/plan_to_sql.rs @@ -50,7 +50,7 @@ fn simple_expr_to_sql_demo() -> Result<()> { let expr = col("a").lt(lit(5)).or(col("a").eq(lit(8))); let ast = expr_to_sql(&expr)?; let sql = format!("{}", ast); - assert_eq!(sql, r#"(("a" < 5) OR ("a" = 8))"#); + assert_eq!(sql, r#"((a < 5) OR (a = 8))"#); Ok(()) }