sgilmore10 opened a new issue, #36984:
URL: https://github.com/apache/arrow/issues/36984
### Describe the enhancement requested
For parity with how we construct array objects, we should create a
construction function called `arrow.recordbatch()` for
`arrow.tabular.RecordBatch`:
```matlab
>> t = table(["A"; "B"; "C"], [1; 2; 3])
t =
3×2 table
Var1 Var2
____ ____
"A" 1
"B" 2
"C" 3
>> rb = arrow.recordbatch(t)
rb =
Var1: [
"A",
"B",
"C"
]
Var2: [
1,
2,
3
]
>> class(rb)
ans =
'arrow.tabular.RecordBatch'
```
The `arrow.tabular.RecordBatch` constructor will accept a scalar
`libmexclass.proxy.Proxy` object instead of a MATLAB `table`.
### Component(s)
MATLAB
--
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]