Repository navigation
GH-36560: [MATLAB] Remove the DeepCopy name-value pair from arrow.array.<Numeric>Array constructors - #36561
Conversation
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or In the case of PARQUET issues on JIRA the title also supports: See also: |
arrow.array.<Numeric>Array constructors
|
+1 |
|
It looks like these changes are ready to be merged. I'll go ahead and merge them now. |
|
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 5c4ba87. 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. |
Rationale for this change
We initially added the
DeepCopyname-value pair to the numeric array class constructors for testing purposes. WhenDeepCopy=true, the proxy classes copy the data from the MATLAB array when creating the underlyingstd::shared_ptr<arrow::NumericArray<CType>>. By default, we don't make a copy and instead store the original array as a property namedMatlabArray. Doing so keeps the backing memory of the arrow array alive and avoids a copy.What changes are included in this PR?
DeepCopyis 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.
DeepCopyname-value pair fromarrow.array.<Numeric>Arrayconstructors #36560