@@ -132,11 +132,11 @@ mod test {
132132
133133 use std:: { iter:: zip, sync:: Arc } ;
134134
135- use arrow_array:: { create_array , ArrayRef , BinaryArray , RecordBatch } ;
135+ use arrow_array:: { ArrayRef , BinaryArray , RecordBatch , create_array } ;
136136 use arrow_schema:: { DataType , Field , Schema } ;
137137 use bytes:: Bytes ;
138138 use parquet:: {
139- arrow:: { arrow_writer:: ArrowWriterOptions , ArrowWriter } ,
139+ arrow:: { ArrowWriter , arrow_writer:: ArrowWriterOptions } ,
140140 column:: reader:: ColumnReader ,
141141 data_type:: { ByteArray , ByteArrayType } ,
142142 file:: {
@@ -415,14 +415,13 @@ mod test {
415415
416416 fn parquet_schema_geometry ( ) -> Type {
417417 Type :: group_type_builder ( "root" )
418- . with_fields ( vec ! [ Type :: primitive_type_builder(
419- "geo" ,
420- parquet:: basic:: Type :: BYTE_ARRAY ,
421- )
422- . with_logical_type( Some ( LogicalType :: Geometry { crs: None } ) )
423- . build( )
424- . unwrap( )
425- . into( ) ] )
418+ . with_fields ( vec ! [
419+ Type :: primitive_type_builder( "geo" , parquet:: basic:: Type :: BYTE_ARRAY )
420+ . with_logical_type( Some ( LogicalType :: Geometry { crs: None } ) )
421+ . build( )
422+ . unwrap( )
423+ . into( ) ,
424+ ] )
426425 . build ( )
427426 . unwrap ( )
428427 }
0 commit comments