Describe the enhancement requested
Currently, the arrow.table construction function will return an empty arrow.tabular.Table if no input arguments are passed to the function. However, arrow.recordBatch throws an error in this case. We should consider making arrow.recordBatch behave consistently with arrow.table in this case.
This should be relatively straightforward to implement. We can just set the input argument T to default to table.empty(0,0) in the arguments block of the recordBatch function, in the same way that arrow.table does:
|
matlabTable {istable} = table.empty(0, 0) |
Component(s)
MATLAB