Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add some explanation and todos
  • Loading branch information
etseidl committed Aug 14, 2025
commit e497133d3914714e9ab7714b67827330f0398df1
3 changes: 3 additions & 0 deletions parquet/src/file/column_crypto_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ use crate::format::{
use crate::parquet_thrift::{FieldType, ThriftCompactInputProtocol};
use crate::{thrift_struct, thrift_union};

// define this and ColumnCryptoMetadata here so they're only defined when
// the encryption feature is enabled

thrift_struct!(
/// Encryption metadata for a column chunk encrypted with a column-specific key
pub struct EncryptionWithColumnKey {
Expand Down
2 changes: 2 additions & 0 deletions parquet/src/file/metadata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ impl From<ParquetMetaData> for ParquetMetaDataBuilder {
}
}

// TODO: should this move to thrift_gen?
thrift_struct!(
/// A key-value pair for [`FileMetaData`].
pub struct KeyValue {
Expand Down Expand Up @@ -552,6 +553,7 @@ impl FileMetaData {
}
}

// TODO: should this move to thrift_gen?
thrift_struct!(
/// Sort order within a RowGroup of a leaf column
pub struct SortingColumn {
Expand Down
1 change: 1 addition & 0 deletions parquet/src/file/page_encoding_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use crate::errors::{ParquetError, Result};
use crate::parquet_thrift::{FieldType, ThriftCompactInputProtocol};
use crate::thrift_struct;

// TODO: This should probably all be moved to thrift_gen
thrift_struct!(
/// PageEncodingStats for a column chunk and data page.
pub struct PageEncodingStats {
Expand Down
Loading