Fokko commented on code in PR #771: URL: https://github.com/apache/iceberg-rust/pull/771#discussion_r1877890713
########## crates/iceberg/src/spec/table_metadata.rs: ########## @@ -776,17 +782,12 @@ pub(super) mod _serde { .map(|x| (x.spec_id(), Arc::new(x))), ); let default_spec_id = value.default_spec_id; - let default_spec = partition_specs + let default_spec: PartitionSpecRef = partition_specs .get(&value.default_spec_id) - .map(|schemaless_spec| { - (*schemaless_spec.clone()) - .clone() - .bind(current_schema.clone()) - }) - .transpose()? + .map(|schemaless_spec| (**schemaless_spec).clone()) Review Comment: ```suggestion .map(|spec| (**spec).clone()) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org