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 @@ -123,9 +123,7 @@ impl Transaction {
123123 }
124124
125125 async fn do_commit ( & mut self , catalog : & dyn Catalog ) -> Result < Table > {
126- let base_table_identifier = self . table . identifier ( ) . to_owned ( ) ;
127-
128- let refreshed = catalog. load_table ( & base_table_identifier. clone ( ) ) . await ?;
126+ let refreshed = catalog. load_table ( self . table . identifier ( ) ) . await ?;
129127
130128 if self . table . metadata ( ) != refreshed. metadata ( )
131129 || self . table . metadata_location ( ) != refreshed. metadata_location ( )
@@ -150,7 +148,7 @@ impl Transaction {
150148 }
151149
152150 let table_commit = TableCommit :: builder ( )
153- . ident ( base_table_identifier )
151+ . ident ( self . table . identifier ( ) . to_owned ( ) )
154152 . updates ( existing_updates)
155153 . requirements ( existing_requirements)
156154 . build ( ) ;
You can’t perform that action at this time.
0 commit comments