kevingurney commented on code in PR #38531:
URL: https://github.com/apache/arrow/pull/38531#discussion_r1377938856
##########
matlab/src/matlab/+arrow/+array/ValidationMode.m:
##########
@@ -0,0 +1,7 @@
+classdef ValidationMode < uint8
Review Comment:
Fixed.
##########
matlab/test/arrow/array/tListArray.m:
##########
@@ -160,6 +184,81 @@ function TestErrorIfEmptyOffsets(testCase)
testCase.verifyError(fcn, "arrow:array:ListArrayFromArraysFailed");
end
+ function TestValidationModeDefault(testCase, TestValidationModeArray)
+ % Verify that the default ValidationMode value for the
+ % arrow.array.ListArray.fromArrays method is
+ % arrow.array.ValidationMode.Minimal.
+ offsets = TestValidationModeArray.Offsets;
+ values = TestValidationModeArray.Values;
+ valid = TestValidationModeArray.Valid;
+ fcn = @() arrow.array.ListArray.fromArrays(offsets, values);
+ if ~valid
Review Comment:
Fixed.
--
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]