Skip to content

Commit 37e5618

Browse files
ZENOTMEZENOTME
and
ZENOTME
authored
feat: add apply in transaction to support stack action (#22)
* add apply in transaction to support stack action * fix test * store current table instead of current metadata --------- Co-authored-by: ZENOTME <[email protected]>
1 parent fe85402 commit 37e5618

File tree

2 files changed

+145
-93
lines changed

2 files changed

+145
-93
lines changed

crates/iceberg/src/table.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ pub struct Table {
162162
}
163163

164164
impl Table {
165+
pub(crate) fn with_metadata(&mut self, metadata: TableMetadataRef) {
166+
self.metadata = metadata;
167+
}
168+
165169
/// Returns a TableBuilder to build a table
166170
pub fn builder() -> TableBuilder {
167171
TableBuilder::new()

0 commit comments

Comments
 (0)