You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After thinking about how to re-implement featherread and featherwrite, we realized it would be better if the Reader and Writer classes worked directly with arrow.tabular.RecordBatchs instead of MATLAB tables.
Component(s)
MATLAB
The text was updated successfully, but these errors were encountered:
kevingurney
changed the title
[MATLAB] Update feather Reader and Writer objects to work directly with arrow.tabular.RecordBatchs instead of MATLAB tables
[MATLAB] Update feather Reader and Writer objects to work directly with arrow.tabular.RecordBatchs instead of MATLAB tables
Aug 7, 2023
…rk directly with `arrow.tabular.RecordBatch`s instead of MATLAB `table`s (#37052)
### Rationale for this change
After thinking about how to re-implement `featherread` and `featherwrite`, we realized it would be better if the `Reader` and `Writer` classes worked directly with `arrow.tabular.RecordBatch`s instead of MATLAB `table`s.
### What changes are included in this PR?
1. Updated `read` method of `arrow.internal.io.feather.Reader` to return an `arrow.tabular.RecordBatch` rather than a MATLAB `table`.
2. Updated `write` method of `arrow.internal.io.feather.Writer` to accept an `arrow.tabular.RecordBatch` rather than a MATLAB `table`.
### Are these changes tested?
Yes.
1. Updated `feather/tRoundTrip.m` to reflect the changes to the `Reader` and `Writer` classes.
### Are there any user-facing changes?
1. No
These are internal APIs.
* Closes: #37049
Authored-by: Kevin Gurney <kgurney@mathworks.com>
Signed-off-by: Kevin Gurney <kgurney@mathworks.com>
… to work directly with `arrow.tabular.RecordBatch`s instead of MATLAB `table`s (apache#37052)
### Rationale for this change
After thinking about how to re-implement `featherread` and `featherwrite`, we realized it would be better if the `Reader` and `Writer` classes worked directly with `arrow.tabular.RecordBatch`s instead of MATLAB `table`s.
### What changes are included in this PR?
1. Updated `read` method of `arrow.internal.io.feather.Reader` to return an `arrow.tabular.RecordBatch` rather than a MATLAB `table`.
2. Updated `write` method of `arrow.internal.io.feather.Writer` to accept an `arrow.tabular.RecordBatch` rather than a MATLAB `table`.
### Are these changes tested?
Yes.
1. Updated `feather/tRoundTrip.m` to reflect the changes to the `Reader` and `Writer` classes.
### Are there any user-facing changes?
1. No
These are internal APIs.
* Closes: apache#37049
Authored-by: Kevin Gurney <kgurney@mathworks.com>
Signed-off-by: Kevin Gurney <kgurney@mathworks.com>
Describe the enhancement requested
After thinking about how to re-implement
featherread
andfeatherwrite
, we realized it would be better if theReader
andWriter
classes worked directly witharrow.tabular.RecordBatch
s instead of MATLABtable
s.Component(s)
MATLAB
The text was updated successfully, but these errors were encountered: