Skip to content

Commit

Permalink
Fix ExportToStructArray test point
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed May 24, 2024
1 parent 0a32b35 commit 05c6659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions matlab/test/arrow/c/tRoundTripRecordBatch.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ function ExportToStructArray(testCase)
cArray = arrow.c.Array();
cSchema = arrow.c.Schema();
rb.export(cArray.Address, cSchema.Address)
rb = arrow.array.Array.import(cArray, cSchema);
structArray = arrow.array.Array.import(cArray, cSchema);

expected = arrow.array.StructArray.fromArrays(column1, column2, ...
FieldNames=["Number" "Text"]);

testCase.verifyEqual(rb, expected);
testCase.verifyEqual(structArray, expected);
end

end
Expand Down

0 comments on commit 05c6659

Please sign in to comment.