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 @@ -154,19 +154,15 @@ impl Operation {
154154 . with_format_version ( table_metadata. format_version )
155155 . with_status ( Status :: Added )
156156 . with_data_file ( data_file)
157- . build ( )
158- . map_err ( crate :: spec:: error:: Error :: from)
159- . map_err ( Error :: from)
157+ . build ( ) . map_err ( Error :: from)
160158 } ) ;
161159
162160 let new_deletefile_iter = delete_files. into_iter ( ) . map ( |data_file| {
163161 ManifestEntry :: builder ( )
164162 . with_format_version ( table_metadata. format_version )
165163 . with_status ( Status :: Added )
166164 . with_data_file ( data_file)
167- . build ( )
168- . map_err ( crate :: spec:: error:: Error :: from)
169- . map_err ( Error :: from)
165+ . build ( ) . map_err ( Error :: from)
170166 } ) ;
171167
172168 let snapshot_id = generate_snapshot_id ( ) ;
You can’t perform that action at this time.
0 commit comments