Skip to content

Commit

Permalink
Disable value validation for decimal256 case (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya authored Jul 30, 2022
1 parent d727618 commit ca43719
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration-testing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,10 @@ fn array_from_json(
}
DataType::Decimal256(precision, scale) => {
let mut b = Decimal256Builder::new(json_col.count, *precision, *scale);
// C++ interop tests involve incompatible decimal values
unsafe {
b.disable_value_validation();
}
for (is_valid, value) in json_col
.validity
.as_ref()
Expand Down

0 comments on commit ca43719

Please sign in to comment.