Skip to content

Commit

Permalink
Add switch case for 'cell' to arrow.array
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Nov 1, 2023
1 parent 1c95f21 commit d1bedaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions matlab/src/matlab/+arrow/array.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
arrowArray = arrow.array.Time64Array.fromMATLAB(data, varargin{:});
case "table"
arrowArray = arrow.array.StructArray.fromMATLAB(data, varargin{:});
case "cell"
arrowArray = arrow.array.ListArray.fromMATLAB(data, varargin{:});
otherwise
errid = "arrow:array:UnsupportedMATLABType";
msg = join(["Unable to convert MATLAB type" classname "to arrow array."]);
Expand Down

0 comments on commit d1bedaf

Please sign in to comment.