Skip to content

Commit

Permalink
fix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JanKaul committed Sep 8, 2023
1 parent 2321b64 commit a33934e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/iceberg/src/spec/table_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ pub(super) mod _serde {
.schemas
.into_iter()
.map(|schema| Ok((schema.schema_id, Arc::new(schema.try_into()?))))
.collect::<Result<Vec<_>, Error>>()?
.into_iter(),
.collect::<Result<Vec<_>, Error>>()?,
);
Ok(TableMetadata {
format_version: FormatVersion::V2,
Expand Down Expand Up @@ -681,8 +680,6 @@ mod tests {
SnapshotRetention, SortDirection, SortField, SortOrder, Summary, Transform, Type,
};

use crate::error::{Error, ErrorKind};

use super::{FormatVersion, MetadataLog, SnapshotLog};

fn check_table_metadata_serde(json: &str, expected_type: TableMetadata) {
Expand Down

0 comments on commit a33934e

Please sign in to comment.