@@ -49,7 +49,8 @@ Result<std::shared_ptr<ManifestReader>> MakeManifestReader(
4949 const ManifestFile& manifest, const std::shared_ptr<FileIO>& file_io,
5050 const TableMetadata& metadata) {
5151 ICEBERG_ASSIGN_OR_RAISE (auto schema, metadata.Schema ());
52- ICEBERG_ASSIGN_OR_RAISE (auto spec, metadata.PartitionSpecById (manifest.partition_spec_id ));
52+ ICEBERG_ASSIGN_OR_RAISE (auto spec,
53+ metadata.PartitionSpecById (manifest.partition_spec_id ));
5354 return ManifestReader::Make (manifest, file_io, std::move (schema), std::move (spec));
5455}
5556
@@ -98,8 +99,7 @@ class FileCleanupStrategy {
9899 // / if the same file path is shared across snapshots, it is only deleted when
99100 // / no retained snapshot references it.
100101 std::unordered_set<std::string> ExpiredStatisticsFilePaths (
101- const TableMetadata& metadata,
102- const std::unordered_set<int64_t >& expired_ids) {
102+ const TableMetadata& metadata, const std::unordered_set<int64_t >& expired_ids) {
103103 std::unordered_set<std::string> retained_paths;
104104 for (const auto & stat : metadata.statistics ) {
105105 if (stat && !expired_ids.contains (stat->snapshot_id )) {
@@ -568,9 +568,8 @@ Status ExpireSnapshots::Finalize(std::optional<Error> commit_error) {
568568 return {};
569569 }
570570
571- std::unordered_set<int64_t > expired_ids (
572- apply_result_->snapshot_ids_to_remove .begin (),
573- apply_result_->snapshot_ids_to_remove .end ());
571+ std::unordered_set<int64_t > expired_ids (apply_result_->snapshot_ids_to_remove .begin (),
572+ apply_result_->snapshot_ids_to_remove .end ());
574573 apply_result_.reset ();
575574
576575 // File cleanup is best-effort: log and continue on individual file deletion failures
0 commit comments