-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-35480: [MATLAB] Add abstract MATLAB base class called arrow.array.Array
#35491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
arrow.array.Arrayarrow.array.Array
Co-authored-by: Kevin Gurney <kgurney@mathworks.com>
2. Implement Length() 3. Make arrow.array.Float64Array inherit from arrow.array.Arrat Co-authored-by: Kevin Gurney <kgurney@mathworks.com>
Co-authored-by: Sarah Gilmore <sgilmore@mathworks.com>
|
Marking PR as read for review. |
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
Benchmark runs are scheduled for baseline = 14f9bf9 and contender = cdefbb8. cdefbb8 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
….array.Array` (apache#35491) ### Rationale for this change It will be helpful for sharing the implementation of common functionality if there is an abstract base class from which the MATLAB `arrow.array.[Type]Array` classes can inherit. ### What changes are included in this PR? 1. Added abstract base class `arrow.array.Array` 2. Changed `arrow.array.Float64Array` to inherit from `arrow.array.Array` 3. Added `Length` property on `arrow.array.Array` ### Are these changes tested? 1. Added a test point for the `Length` property in `tFloat64Array.m`. 2. Qualified locally on macOS and linux. ### Are there any user-facing changes? Yes, there is now a `Length` property on `arrow.array.Float64Array` ### Future Directions We will continue to build out the concrete Array subclasses. * Closes: apache#35480 Lead-authored-by: Sarah Gilmore <sgilmore@mathworks.com> Co-authored-by: Kevin Gurney <kgurney@mathworks.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
It will be helpful for sharing the implementation of common functionality if there is an abstract base class from which the MATLAB
arrow.array.[Type]Arrayclasses can inherit.What changes are included in this PR?
arrow.array.Arrayarrow.array.Float64Arrayto inherit fromarrow.array.ArrayLengthproperty onarrow.array.ArrayAre these changes tested?
Lengthproperty intFloat64Array.m.Are there any user-facing changes?
Yes, there is now a
Lengthproperty onarrow.array.Float64ArrayFuture Directions
We will continue to build out the concrete Array subclasses.
arrow.array.Array#35480