File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
iceberg-rust/src/table/transaction Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -148,19 +148,15 @@ impl Operation {
148148 . with_format_version ( table_metadata. format_version )
149149 . with_status ( Status :: Added )
150150 . with_data_file ( data_file)
151- . build ( )
152- . map_err ( crate :: spec:: error:: Error :: from)
153- . map_err ( Error :: from)
151+ . build ( ) . map_err ( Error :: from)
154152 } ) ;
155153
156154 let new_deletefile_iter = delete_files. into_iter ( ) . map ( |data_file| {
157155 ManifestEntry :: builder ( )
158156 . with_format_version ( table_metadata. format_version )
159157 . with_status ( Status :: Added )
160158 . with_data_file ( data_file)
161- . build ( )
162- . map_err ( crate :: spec:: error:: Error :: from)
163- . map_err ( Error :: from)
159+ . build ( ) . map_err ( Error :: from)
164160 } ) ;
165161
166162 let snapshot_id = generate_snapshot_id ( ) ;
You can’t perform that action at this time.
0 commit comments