Skip to content

Commit 46ad140

Browse files
committed
minor
1 parent 01c44ec commit 46ad140

File tree

1 file changed

+3
-3
lines changed
  • crates/iceberg/src/transaction

1 file changed

+3
-3
lines changed

crates/iceberg/src/transaction/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ impl Transaction {
130130
}
131131

132132
async fn do_commit(&mut self, catalog: &dyn Catalog) -> Result<Table> {
133-
let refreshed = catalog.load_table(self.base_table.identifier()).await?;
133+
let refreshed = catalog.load_table(self.table.identifier()).await?;
134134

135-
if self.base_table.metadata() != refreshed.metadata()
136-
|| self.base_table.metadata_location() != refreshed.metadata_location()
135+
if self.table.metadata() != refreshed.metadata()
136+
|| self.table.metadata_location() != refreshed.metadata_location()
137137
{
138138
// current base is stale, use refreshed as base and re-apply transaction actions
139139
self.table = refreshed.clone();

0 commit comments

Comments
 (0)