diff --git a/parquet/src/file/metadata/mod.rs b/parquet/src/file/metadata/mod.rs index 3722f2cbe48d..1d338bb8eed8 100644 --- a/parquet/src/file/metadata/mod.rs +++ b/parquet/src/file/metadata/mod.rs @@ -102,7 +102,7 @@ pub type ParquetOffsetIndex = Vec>>; /// /// [`parquet.thrift`]: https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift /// [`parse_metadata`]: crate::file::footer::parse_metadata -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct ParquetMetaData { /// File level metadata file_metadata: FileMetaData, @@ -238,7 +238,7 @@ pub type FileMetaDataPtr = Arc; /// File level metadata for a Parquet file. /// /// Includes the version of the file, metadata, number of rows, schema, and column orders -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct FileMetaData { version: i32, num_rows: i64,