GH-37210: [Docs][MATLAB] Update MATLAB README.md to mention support for new MATLAB APIs (e.g. RecordBatch, Field, Schema, etc.)#37215
Merged
kevingurney merged 13 commits intoapache:mainfrom Aug 17, 2023
Conversation
Co-authored-by: Sarah Gilmore <[email protected]>
`Type`s to Status section of `README.md`.
sgilmore10
reviewed
Aug 16, 2023
sgilmore10
approved these changes
Aug 16, 2023
Member
sgilmore10
left a comment
There was a problem hiding this comment.
Thank you for updating the README.md to reflect the changes in the MATLAB Interface!
Co-authored-by: Sutou Kouhei <[email protected]>
Member
Author
|
+1 |
kevingurney
added a commit
that referenced
this pull request
Aug 17, 2023
…o `arrow.recordBatch` (camelCase) (#37223) ### Rationale for this change As @ kou suggested in #37215 (comment), it makes sense to rename `arrow.recordbatch` (all lowercase) to `arrow.recordBatch` (camelCase). `recordBatch` is the first "two-word" function in the top-level `arrow.*` package, so it makes sense to establish a clear camelCase standard for "multi-word" functions in the MATLAB interface at this point. One part of the rationale motivating this change is that other language bindings follow a similar pattern (e.g. `pyarrow.record_batch` instead of `pyarrow.recordbatch`). ### What changes are included in this PR? 1. Renamed `arrow.recordbatch` (all lowercase) to `arrow.recordBatch` (camelCase). 2. Updated documentation and tests to reflect `arrow.recordbatch` being renamed to `arrow.recordBatch`. ### Are these changes tested? Yes. 1. All existing MATLAB tests have been updated to use the new name `arrow.recordbatch` and are passing on my Debian 11 machine. ### Are there any user-facing changes? Yes. **This PR includes breaking changes to public APIs.** The public facing API `arrow.recordbatch` has been renamed to `arrow.recordBatch`. Since the MATLAB interface is still "pre 1.0", we don't expect this change to have a significant impact. ### Notes 1. Thank you @ sgilmore10 for your help with this pull request! * Closes: #37222 Lead-authored-by: Kevin Gurney <[email protected]> Co-authored-by: Sarah Gilmore <[email protected]> Signed-off-by: Kevin Gurney <[email protected]>
|
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 7d8e4b1. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them. |
loicalleyne
pushed a commit
to loicalleyne/arrow
that referenced
this pull request
Nov 13, 2023
…upport for new MATLAB APIs (e.g. `RecordBatch`, `Field`, `Schema`, etc.) (apache#37215) ### Rationale for this change Over the last few months, a number of new user-facing APIs have been added or changed in the MATLAB Interface. ## Examples: ### Construction Functions - `arrow.array` - `arrow.field` - `arrow.schema` - `arrow.recordbatch` - `arrow.boolean`, `arrow.string`, `arrow.timestamp`, etc. (type construction functions) ### Classes - `arrow.type.Field` - `arrow.tabular.Schema` - `arrow.tabular.RecordBatch` - `arrow.array.StringArray` - `arrow.array.TimestampArray` ### Indexing Methods - `arrow.tabular.Schema.field(i)` - `arrow.tabular.RecordBatch.column(i)` ### Static Construction Methods - `arrow.tabular.RecordBatch.fromArrays(a1, ..., aN)` - `arrow.array.StringArray.fromMATLAB(a)` --- This pull request updates the [`README.md` for the MATLAB Interface](https://github.com/apache/arrow/blob/main/matlab/README.md) to reflect these changes. ### What changes are included in this PR? Updated MATLAB `README.md`: 1. Updated **Status** section to mention support for new Arrow types and functionality. 2. Added usage examples for `Type, `Field`, `Schema`, and `RecordBatch`. 3. Updated Feather v1 usage examples to illustrate support for types like `String` and `Boolean`. ### Are these changes tested? N/A. This is purely a documentation change. I manually reviewed the visual rendering of the `README.md` Markdown on GitHub. ### Are there any user-facing changes? Yes. 1. The MATLAB `README.md` now includes more usage examples which illustrate how to use the MATLAB interface. ### Future Directions 1. Add comprehensive documentation for all classes and methods, including supported input argument types and name-value pairs. 2. Add more detailed information on future development plans and development status to the `README.md`. 3. Add a table of contents to the MATLAB `README.md`. 4. Keep the `README.md` up to date more proactively. ### Notes 1. Thank you @ sgilmore10 for your help with this pull request! 2. My apologies in advance if this is too much documentation content to review at once. We will focus on being more incremental about keeping the MATLAB documentation up to date in the future. 3. apache#37211 also involves updating the MATLAB `README.md`, so there is a chance we may need to rebase before merging these changes in. * Closes: apache#37210 Lead-authored-by: Kevin Gurney <[email protected]> Co-authored-by: Kevin Gurney <[email protected]> Co-authored-by: Sutou Kouhei <[email protected]> Co-authored-by: Sarah Gilmore <[email protected]> Signed-off-by: Kevin Gurney <[email protected]>
loicalleyne
pushed a commit
to loicalleyne/arrow
that referenced
this pull request
Nov 13, 2023
…ase) to `arrow.recordBatch` (camelCase) (apache#37223) ### Rationale for this change As @ kou suggested in apache#37215 (comment), it makes sense to rename `arrow.recordbatch` (all lowercase) to `arrow.recordBatch` (camelCase). `recordBatch` is the first "two-word" function in the top-level `arrow.*` package, so it makes sense to establish a clear camelCase standard for "multi-word" functions in the MATLAB interface at this point. One part of the rationale motivating this change is that other language bindings follow a similar pattern (e.g. `pyarrow.record_batch` instead of `pyarrow.recordbatch`). ### What changes are included in this PR? 1. Renamed `arrow.recordbatch` (all lowercase) to `arrow.recordBatch` (camelCase). 2. Updated documentation and tests to reflect `arrow.recordbatch` being renamed to `arrow.recordBatch`. ### Are these changes tested? Yes. 1. All existing MATLAB tests have been updated to use the new name `arrow.recordbatch` and are passing on my Debian 11 machine. ### Are there any user-facing changes? Yes. **This PR includes breaking changes to public APIs.** The public facing API `arrow.recordbatch` has been renamed to `arrow.recordBatch`. Since the MATLAB interface is still "pre 1.0", we don't expect this change to have a significant impact. ### Notes 1. Thank you @ sgilmore10 for your help with this pull request! * Closes: apache#37222 Lead-authored-by: Kevin Gurney <[email protected]> Co-authored-by: Sarah Gilmore <[email protected]> Signed-off-by: Kevin Gurney <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale for this change
Over the last few months, a number of new user-facing APIs have been added or changed in the MATLAB Interface.
Examples:
Construction Functions
arrow.arrayarrow.fieldarrow.schemaarrow.recordbatcharrow.boolean,arrow.string,arrow.timestamp, etc. (type construction functions)Classes
arrow.type.Fieldarrow.tabular.Schemaarrow.tabular.RecordBatcharrow.array.StringArrayarrow.array.TimestampArrayIndexing Methods
arrow.tabular.Schema.field(i)arrow.tabular.RecordBatch.column(i)Static Construction Methods
arrow.tabular.RecordBatch.fromArrays(a1, ..., aN)arrow.array.StringArray.fromMATLAB(a)This pull request updates the
README.mdfor the MATLAB Interface to reflect these changes.What changes are included in this PR?
Updated MATLAB
README.md:Type,Field,Schema, andRecordBatch`.StringandBoolean.Are these changes tested?
N/A.
This is purely a documentation change. I manually reviewed the visual rendering of the
README.mdMarkdown on GitHub.Are there any user-facing changes?
Yes.
README.mdnow includes more usage examples which illustrate how to use the MATLAB interface.Future Directions
README.md.README.md.README.mdup to date more proactively.Notes
MATLAB_ARROW_INTERFACEflag from CMake build system and build new MATLAB Interface code by default #37211 also involves updating the MATLABREADME.md, so there is a chance we may need to rebase before merging these changes in.README.mdto mention support for new MATLAB APIs (e.g.RecordBatch,Field,Schema, etc.) #37210