@@ -59,7 +59,7 @@ fn select_arrow_cast() {
59
59
let sql = "SELECT arrow_cast(1234, 'Float64') as f64, arrow_cast('foo', 'LargeUtf8') as large" ;
60
60
let plan = test_sql ( sql) . unwrap ( ) ;
61
61
assert_snapshot ! (
62
- format! ( "{ plan}" ) ,
62
+ plan,
63
63
@r#"
64
64
Projection: Float64(1234) AS f64, LargeUtf8("foo") AS large
65
65
EmptyRelation
@@ -76,7 +76,7 @@ fn timestamp_nano_ts_none_predicates() -> Result<()> {
76
76
// pushed down / pruned
77
77
let plan = test_sql ( sql) . unwrap ( ) ;
78
78
assert_snapshot ! (
79
- format! ( "{ plan}" ) ,
79
+ plan,
80
80
@r"
81
81
Projection: test.col_int32
82
82
Filter: test.col_ts_nano_none < TimestampNanosecond(1666612093000000000, None)
@@ -96,7 +96,7 @@ fn timestamp_nano_ts_utc_predicates() {
96
96
// pushed down / pruned
97
97
let plan = test_sql ( sql) . unwrap ( ) ;
98
98
assert_snapshot ! (
99
- format! ( "{ plan}" ) ,
99
+ plan,
100
100
@r#"
101
101
Projection: test.col_int32
102
102
Filter: test.col_ts_nano_utc < TimestampNanosecond(1666612093000000000, Some("+00:00"))
@@ -112,7 +112,7 @@ fn concat_literals() -> Result<()> {
112
112
FROM test" ;
113
113
let plan = test_sql ( sql) . unwrap ( ) ;
114
114
assert_snapshot ! (
115
- format! ( "{ plan}" ) ,
115
+ plan,
116
116
@r#"
117
117
Projection: concat(Utf8("true"), CAST(test.col_int32 AS Utf8), Utf8("falsehello"), test.col_utf8, Utf8("123.4")) AS col
118
118
TableScan: test projection=[col_int32, col_utf8]
@@ -128,7 +128,7 @@ fn concat_ws_literals() -> Result<()> {
128
128
FROM test" ;
129
129
let plan = test_sql ( sql) . unwrap ( ) ;
130
130
assert_snapshot ! (
131
- format! ( "{ plan}" ) ,
131
+ plan,
132
132
@r#"
133
133
Projection: concat_ws(Utf8("-"), Utf8("true"), CAST(test.col_int32 AS Utf8), Utf8("false-hello"), test.col_utf8, Utf8("12--3.4")) AS col
134
134
TableScan: test projection=[col_int32, col_utf8]
0 commit comments