From 3a9cc3f89f385b58c4e0769fe82b04868eb8c910 Mon Sep 17 00:00:00 2001 From: Jia-Xuan Liu Date: Tue, 21 May 2024 23:16:58 +0800 Subject: [PATCH] fix the test fail --- datafusion-examples/examples/plan_to_sql.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion-examples/examples/plan_to_sql.rs b/datafusion-examples/examples/plan_to_sql.rs index 35e8c6d6595a4..b937995b14a51 100644 --- a/datafusion-examples/examples/plan_to_sql.rs +++ b/datafusion-examples/examples/plan_to_sql.rs @@ -141,7 +141,7 @@ async fn round_trip_plan_to_sql_parquest_dataframe_demo() -> Result<()> { assert_eq!( sql, - r#"SELECT alltypes_plain.int_col, alltypes_plain.double_col, CAST(alltypes_plain.date_string_col AS VARCHAR) FROM alltypes_plain WHERE ((alltypes_plain.id > 1) AND (alltypes_plain.tinyint_col"< alltypes_plain.double_col))"# + r#"SELECT alltypes_plain.int_col, alltypes_plain.double_col, CAST(alltypes_plain.date_string_col AS VARCHAR) FROM alltypes_plain WHERE ((alltypes_plain.id > 1) AND (alltypes_plain.tinyint_col < alltypes_plain.double_col))"# ); Ok(())