diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-04-29 23:04:51 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2016-04-29 23:04:51 -0700 |
commit | 43b149fb885a27f9467aab28e5195f6f03aadcf0 (patch) | |
tree | c8620d5d0f42e9f3238020e3bce8f8ea527182eb /sbin/start-mesos-shuffle-service.sh | |
parent | 4bac703eb9dcc286d6b89630cf433f95b63a4a1f (diff) | |
download | spark-43b149fb885a27f9467aab28e5195f6f03aadcf0.tar.gz spark-43b149fb885a27f9467aab28e5195f6f03aadcf0.tar.bz2 spark-43b149fb885a27f9467aab28e5195f6f03aadcf0.zip |
[SPARK-14850][ML] convert primitive array from/to unsafe array directly in VectorUDT/MatrixUDT
## What changes were proposed in this pull request?
This PR adds `fromPrimitiveArray` and `toPrimitiveArray` in `UnsafeArrayData`, so that we can do the conversion much faster in VectorUDT/MatrixUDT.
## How was this patch tested?
existing tests and new test suite `UnsafeArraySuite`
Author: Wenchen Fan <wenchen@databricks.com>
Closes #12640 from cloud-fan/ml.
Diffstat (limited to 'sbin/start-mesos-shuffle-service.sh')
0 files changed, 0 insertions, 0 deletions