@@ -490,14 +490,13 @@ struct ICEBERG_EXPORT CodecTypeUtil {
490490 // / \return The file extension of the codec.
491491 static std::string CodecTypeToFileExtension (MetadataFileCodecType codec);
492492
493- inline static constexpr std::string_view kTableMetadataFileSuffix = " .metadata.json" ;
494- inline static constexpr std::string_view kCompGzipTableMetadataFileSuffix =
493+ static constexpr std::string_view kTableMetadataFileSuffix = " .metadata.json" ;
494+ static constexpr std::string_view kCompGzipTableMetadataFileSuffix =
495495 " .metadata.json.gz" ;
496- inline static constexpr std::string_view kGzipTableMetadataFileSuffix =
497- " .gz.metadata.json" ;
498- inline static constexpr std::string_view kGzipTableMetadataFileExtension = " .gz" ;
499- inline static constexpr std::string_view kCodecTypeGzip = " GZIP" ;
500- inline static constexpr std::string_view kCodecTypeNone = " NONE" ;
496+ static constexpr std::string_view kGzipTableMetadataFileSuffix = " .gz.metadata.json" ;
497+ static constexpr std::string_view kGzipTableMetadataFileExtension = " .gz" ;
498+ static constexpr std::string_view kCodecTypeGzip = " GZIP" ;
499+ static constexpr std::string_view kCodecTypeNone = " NONE" ;
501500};
502501
503502// / \brief Utility class for table metadata
@@ -521,7 +520,7 @@ struct ICEBERG_EXPORT TableMetadataUtil {
521520 // / \param io The FileIO instance for writing files
522521 // / \param base The base metadata (can be null for new tables)
523522 // / \param metadata The metadata to write, which will be updated with the new location
524- static Status Write (FileIO& io, const TableMetadata* base, TableMetadata* metadata);
523+ static Status Write (FileIO& io, const TableMetadata* base, TableMetadata& metadata);
525524
526525 // / \brief Delete removed metadata files based on retention policy.
527526 // /
0 commit comments