pw42020 opened a new pull request, #45973:
URL: https://github.com/apache/arrow/pull/45973
Thanks for opening a pull request!
If this is your first pull request you can find detailed information on how
to contribute here:
* [New Contributor's
Guide](https://arrow.apache.org/docs/dev/developers/guide/step_by_step/pr_lifecycle.html#reviews-and-merge-of-the-pull-request)
* [Contributing
Overview](https://arrow.apache.org/docs/dev/developers/overview.html)
Please remove this line and the above text before creating your pull request.
### Rationale for this change
MATLAB currently has multiple "example code" sections in the readme
`matlab/doc/matlab_interface_for_apache_arrow_design.md` that have either been
deprecated or were retrieved from other languages where MATLAB does not have
the same endpoints. Example code that works out of the box not only helps with
early developers get started using arrow, but also helps experienced developers
ensure their development setup is in proper condition.
The broken endpoints described include:
#### Use Case 2
1. `arrow.Table(Var1, Var2, Var3)`
a. With the current implementation of arrow.Table, it cannot take
multiple `arrow.array`s and create a table from that. All examples inside of
`matlab/test/arrow/tabular/tTable.m` create a table by first creating a MATLAB
table.
3. `arrow.FeatherTableWriter`
4. `arrow.FeatherTableReader`
5. `arrow.matlab2arrow`
#### Use Case 3
1. `importFromCDataInterface`
2. `ExportToCDataInterface`
3. `arrow.ipcwrite`
a. The current way to write ipc files using arrow,
`arrow.io.ipc.RecordBatchFileWriter`, seems to be broken. The details are
described in #45972.
### What changes are included in this PR?
I changed the use case README example code in use case 2 and use case 3 to
use code that can be copy-and-pasted into MATLAB and work out of the box,
rather than the current endpoints.
### Are these changes tested?
Yes. These changes have been tested by running each example piece of code
inside of MATLAB inside of the changes and verifying that they work out of the
box.
### Are there any user-facing changes?
No.
--
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]