Skip to content

Commit

Permalink
fix: snapshot field after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
roeap committed Nov 30, 2023
1 parent 4fa961a commit f74681f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/deltalake-core/src/operations/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ impl std::future::IntoFuture for WriteBuilder {
if schema != table_schema {
let mut metadata = this
.snapshot
.current_metadata()
.metadata()
.ok_or(DeltaTableError::NoMetadata)?
.clone();
metadata.schema = schema.clone().try_into()?;
Expand Down

0 comments on commit f74681f

Please sign in to comment.