Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jun 11, 2024
1 parent 328c947 commit 4006317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/parquet/read/values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 4006317

Please sign in to comment.