sgilmore10 opened a new issue, #38015:
URL: https://github.com/apache/arrow/issues/38015
### Describe the enhancement requested
To unblock use cases that are not satisfied by the default Arrow -> MATLAB
conversions (i.e. the `toMATLAB()` on `arrow.array.Array`), we would like
expose the underlying Arrow data representation as a property on
`arrow.array.Array`. One possible name for this property would be `DataLayout`,
which would be an `arrow.array.DataLayout` object. Note, this class does not
yet exist, so we would have to add it.
For example, the `DataLayout` property for temporal array types would return
an object of the following class type:
```matlab
classdef TemporalDataLayout < arrow.array.DataLayout
properties
Values % an arrow.array.Int32Array or an arrow.array.Int64Array
Valid % an arrow.buffer.Buffer
end
end
```
However, the `Valid` property on this class would need to be an
`arrow.buffer.Buffer` object, which does not yet exist in the MATLAB interface.
Therefore, it would be helpful to first add the `arrow.buffer.Buffer` class
before adding the `DataLayout` property/class hierarchy. It's worth mentioning
that adding `arrow.buffer.Buffer` will open up additional advanced use cases in
the future.
### 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]