File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,11 +172,18 @@ async fn test_json_get_array_inner_field_is_json_metadata() {
172172 } ;
173173 assert_eq ! ( inner_field. metadata( ) . get( "is_json" ) . map( String :: as_str) , Some ( "true" ) ) ;
174174
175- let array_field = batches[ 0 ] . column ( 0 ) . as_any ( ) . downcast_ref :: < datafusion:: arrow:: array:: ListArray > ( ) . unwrap ( ) ;
175+ let array_field = batches[ 0 ]
176+ . column ( 0 )
177+ . as_any ( )
178+ . downcast_ref :: < datafusion:: arrow:: array:: ListArray > ( )
179+ . unwrap ( ) ;
176180 let DataType :: List ( produced_inner) = array_field. data_type ( ) else {
177181 panic ! ( "expected List in produced array" ) ;
178182 } ;
179- assert_eq ! ( produced_inner. metadata( ) . get( "is_json" ) . map( String :: as_str) , Some ( "true" ) ) ;
183+ assert_eq ! (
184+ produced_inner. metadata( ) . get( "is_json" ) . map( String :: as_str) ,
185+ Some ( "true" )
186+ ) ;
180187}
181188
182189#[ tokio:: test]
You can’t perform that action at this time.
0 commit comments