Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
decimal_39_required_v1/v2 result eq
Browse files Browse the repository at this point in the history
  • Loading branch information
TCeason committed Feb 23, 2023
1 parent 6661c12 commit d7ea82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/parquet/read/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ fn convert_i256(value: &[u8], n: usize) -> i256 {
let mut bytes = [0u8; 32];
bytes[..n].copy_from_slice(value);

i256::from_be_bytes(bytes)
i256(i256::from_be_bytes(bytes).0 >> (8*(32-n)))
}

0 comments on commit d7ea82b

Please sign in to comment.