Commits


sgilmore10 authored and GitHub committed 5c4ba87a984
GH-36560: [MATLAB] Remove the DeepCopy name-value pair from `arrow.array.<Numeric>Array` constructors (#36561) ### Rationale for this change We initially added the `DeepCopy` name-value pair to the numeric array class constructors for testing purposes. When `DeepCopy=true`, the proxy classes copy the data from the MATLAB array when creating the underlying `std::shared_ptr<arrow::NumericArray<CType>>`. By default, we don't make a copy and instead store the original array as a property named `MatlabArray`. Doing so keeps the backing memory of the arrow array alive and avoids a copy. ### What changes are included in this PR? `DeepCopy` is no longer accepted as a name-value pair by the constructors of the numeric array classes. ### Are these changes tested? No tests were needed. ### Are there any user-facing changes? This is technically a user facing change, but the MATLAB interface is still experimental and under active development. We don't expect anyone to be affected by this change. * Closes: #36560 Authored-by: Sarah Gilmore <sgilmore@mathworks.com> Signed-off-by: Kevin Gurney <kgurney@mathworks.com>