Skip to content

Commit 52e09d7

Browse files
ZENOTMEZENOTME
authored andcommitted
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 278cd5c commit 52e09d7

File tree

6 files changed

+205
-1188
lines changed

6 files changed

+205
-1188
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)