Skip to content

Commit

Permalink
Add PartialEq to ParquetMetaData and FileMetadata
Browse files Browse the repository at this point in the history
Prep for apache#6000
  • Loading branch information
adriangb committed Jul 18, 2024
1 parent e70c16d commit c43107a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parquet/src/file/metadata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub type ParquetOffsetIndex = Vec<Vec<Vec<PageLocation>>>;
///
/// [`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,
Expand Down Expand Up @@ -222,7 +222,7 @@ pub type FileMetaDataPtr = Arc<FileMetaData>;
/// 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,
Expand Down

0 comments on commit c43107a

Please sign in to comment.