Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rok committed Jan 21, 2025
1 parent d70f44e commit 8a8d99f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion parquet/src/encryption/ciphers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ pub fn create_footer_aad(file_aad: &[u8]) -> Result<Vec<u8>> {
create_module_aad(file_aad, ModuleType::Footer, 0, 0, None)
}

pub fn create_page_aad(file_aad: &[u8], module_type: ModuleType, row_group_ordinal: usize,
pub(crate) fn create_page_aad(file_aad: &[u8], module_type: ModuleType, row_group_ordinal: usize,
column_ordinal: usize, page_ordinal: Option<usize>) -> Result<Vec<u8>> {
create_module_aad(file_aad, module_type, row_group_ordinal, column_ordinal, page_ordinal)
}
Expand Down
2 changes: 2 additions & 0 deletions parquet/tests/arrow_writer_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ fn assert_layout(file_reader: &Bytes, meta: &ParquetMetaData, layout: &Layout) {
row_group.num_rows() as usize,
None,
Arc::new(properties),
#[cfg(feature = "encryption")]
None,
)
.unwrap();

Expand Down

0 comments on commit 8a8d99f

Please sign in to comment.