diff --git a/core/src/parquet/read/values.rs b/core/src/parquet/read/values.rs index 14ab4d1f1..636b117d1 100644 --- a/core/src/parquet/read/values.rs +++ b/core/src/parquet/read/values.rs @@ -510,7 +510,7 @@ impl PlainDecoding for UInt32Type { fn copy_i32_to_i8(src: &[u8], dst: &mut [u8], num: usize) { debug_assert!(src.len() >= num * 4, "Source slice is too small"); - debug_assert!(dst.len() >= num * 1, "Destination slice is too small"); + debug_assert!(dst.len() >= num, "Destination slice is too small"); for i in 0..num { let i32_value =