Skip to content

Commit a09cb8b

Browse files
author
shuxu.li
committed
feat: static table metadata access support
1 parent c9fe0ac commit a09cb8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/iceberg/table_metadata.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
/// Table metadata for Iceberg tables.
2424

2525
#include <memory>
26+
#include <mutex>
2627
#include <string>
2728
#include <string_view>
2829
#include <unordered_map>
@@ -129,6 +130,7 @@ struct ICEBERG_EXPORT TableMetadata {
129130
/// A `long` higher than all assigned row IDs
130131
int64_t next_row_id;
131132

133+
/// \brief Used for lazy initialization of schema
132134
mutable std::once_flag init_schema_once;
133135

134136
/// \brief Get the current schema, return NotFoundError if not found

0 commit comments

Comments
 (0)