File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,12 @@ class ICEBERG_EXPORT Table {
107107
108108 private:
109109 const TableIdentifier identifier_;
110- const std::shared_ptr<TableMetadata> metadata_;
110+ std::shared_ptr<TableMetadata> metadata_;
111111 const std::string metadata_location_;
112112 std::shared_ptr<FileIO> io_;
113113 std::shared_ptr<Catalog> catalog_;
114114
115+ // Cache lazy-initialized maps.
115116 mutable std::shared_ptr<std::unordered_map<int32_t , std::shared_ptr<Schema>>>
116117 schemas_map_;
117118 mutable std::shared_ptr<std::unordered_map<int32_t , std::shared_ptr<PartitionSpec>>>
Original file line number Diff line number Diff line change 2323// / Table metadata for Iceberg tables.
2424
2525#include < memory>
26- #include < mutex>
2726#include < string>
2827#include < string_view>
2928#include < unordered_map>
3029#include < vector>
3130
3231#include " iceberg/iceberg_export.h"
33- #include " iceberg/snapshot.h"
3432#include " iceberg/type_fwd.h"
3533#include " iceberg/util/timepoint.h"
3634
You can’t perform that action at this time.
0 commit comments