diff --git a/parquet_file/src/catalog.rs b/parquet_file/src/catalog.rs index f79a945960..03a85d9655 100644 --- a/parquet_file/src/catalog.rs +++ b/parquet_file/src/catalog.rs @@ -31,7 +31,7 @@ use uuid::Uuid; /// Current version for serialized transactions. /// /// For breaking changes, this will change. -pub const TRANSACTION_VERSION: u32 = 3; +pub const TRANSACTION_VERSION: u32 = 4; /// File suffix for transaction files in object store. pub const TRANSACTION_FILE_SUFFIX: &str = "txn"; diff --git a/parquet_file/src/metadata.rs b/parquet_file/src/metadata.rs index f8af37d57b..7fca9d4471 100644 --- a/parquet_file/src/metadata.rs +++ b/parquet_file/src/metadata.rs @@ -210,6 +210,9 @@ pub type Result = std::result::Result; /// /// This will serialized as [JSON] into the file-level key-value Parquet metadata (under [`METADATA_KEY`]). /// +/// **Important: When changing this structure, consider bumping the +/// [catalog transaction version](crate::catalog::TRANSACTION_VERSION)!** +/// /// [JSON]: https://www.json.org/ #[allow(missing_copy_implementations)] // we want to extend this type in the future #[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq)]