File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
crates/iceberg/src/transaction Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,7 @@ impl Transaction {
173
173
}
174
174
175
175
async fn do_commit ( & mut self , catalog : & dyn Catalog ) -> Result < Table > {
176
- let base_table_identifier = self . base_table . identifier ( ) . to_owned ( ) ;
177
-
178
- let refreshed = catalog. load_table ( & base_table_identifier. clone ( ) ) . await ?;
176
+ let refreshed = catalog. load_table ( self . base_table . identifier ( ) ) . await ?;
179
177
180
178
if self . base_table . metadata ( ) != refreshed. metadata ( )
181
179
|| self . base_table . metadata_location ( ) != refreshed. metadata_location ( )
@@ -196,7 +194,7 @@ impl Transaction {
196
194
}
197
195
198
196
let table_commit = TableCommit :: builder ( )
199
- . ident ( base_table_identifier )
197
+ . ident ( self . base_table . identifier ( ) . clone ( ) )
200
198
. updates ( self . updates . clone ( ) )
201
199
. requirements ( self . requirements . clone ( ) )
202
200
. build ( ) ;
You can’t perform that action at this time.
0 commit comments