GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/21099
[SPARK-23875][SQL][FollowUp] Add IndexedSeq wrapper for ArrayData
## What changes were proposed in this pull request?
Use specified accessor in `ArrayData.foreach` and `toArray`.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 SPARK-23875-followup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21099.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21099
----
commit a2070072b733f1ec9cbbb5e0380d3a6e81fd0987
Author: Liang-Chi Hsieh <viirya@...>
Date: 2018-04-18T14:29:37Z
Use specified accessor in toArray and foreach.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]