xanderbailey commented on code in PR #3783:
URL: https://github.com/apache/iceberg-rust/pull/3783#discussion_r4732452976


##########
crates/iceberg/src/arrow/reader/pipeline.rs:
##########
@@ -4117,7 +4117,7 @@ mod tests {
         /// Bytes one open reads: the hint, then the footer and its indexes.
         /// The footer stores the writer's `created_by` version, so a `parquet`
         /// upgrade can change this.
-        const OPEN_BYTES: u64 = 547;
+        const OPEN_BYTES: u64 = 546;

Review Comment:
   This drops by one byte because parquet 60.2.0 only lists `RLE` in the column 
chunk's `encodings` when the column has definition or repetition levels 
(https://github.com/apache/arrow-rs/pull/12003). The test's `id` column is 
required, so its encodings go from `[PLAIN, RLE, RLE_DICTIONARY]` to `[PLAIN, 
RLE_DICTIONARY]`, one less byte of footer.



##########
crates/iceberg/src/arrow/reader/pipeline.rs:
##########
@@ -4117,7 +4117,7 @@ mod tests {
         /// Bytes one open reads: the hint, then the footer and its indexes.
         /// The footer stores the writer's `created_by` version, so a `parquet`
         /// upgrade can change this.
-        const OPEN_BYTES: u64 = 547;
+        const OPEN_BYTES: u64 = 546;

Review Comment:
   This drops by one byte because parquet 60.2.0 only lists RLE in the column 
chunk's encodings when the column has definition or repetition levels 
(https://github.com/apache/arrow-rs/pull/12003). The test's id column is 
required, so its encodings go from [PLAIN, RLE, RLE_DICTIONARY] to [PLAIN, 
RLE_DICTIONARY], one less byte of footer.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to