GitHub user liufengdb opened a pull request:
https://github.com/apache/spark/pull/19230
[SPARK-22003][SQL] support array column in vectorized reader with UDF
## What changes were proposed in this pull request?
The UDF needs to deserialize the `UnsafeRow`. When the column type is
Array, the `get` method from the `ColumnVector`, which is used by the
vectorized reader, is called, but this method is not implemented.
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration
tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liufengdb/spark fix_array_open
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19230.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 #19230
----
commit adbaeabf18ee1f96611ecbd6ee627bc0a457289d
Author: Feng Liu <[email protected]>
Date: 2017-09-12T21:56:55Z
init
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]