tustvold commented on code in PR #2873:
URL: https://github.com/apache/arrow-rs/pull/2873#discussion_r995421466


##########
arrow/tests/array_validation.rs:
##########
@@ -1055,8 +1055,11 @@ fn test_decimal_full_validation() {
         .len(fixed_size_array.len())
         
.add_buffer(fixed_size_array.data_ref().child_data()[0].buffers()[0].clone());
     let array_data = unsafe { builder.build_unchecked() };
-    let validation_result = array_data.validate_full();
-    let error = validation_result.unwrap_err();
+    array_data.validate_full().unwrap();
+
+    let array = Decimal128Array::from(array_data);
+    let error = 
array.validate_decimal_precision(array.precision()).unwrap_err();

Review Comment:
   It is now explicitly opt-in



-- 
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]

Reply via email to