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 authored and rtyler committed Dec 2, 2023
1 parent f2265e8 commit f52f730
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 @@ -498,7 +498,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 f52f730

Please sign in to comment.