diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-05-17 17:02:52 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-05-17 17:02:52 +0800 |
commit | c36ca651f9177f8e7a3f6a0098cba5a810ee9deb (patch) | |
tree | 2a0405085ef6df1670715b9864004dc8d6327fe0 /examples | |
parent | 122302cbf5cbf1133067a5acdffd6ab96765dafe (diff) | |
download | spark-c36ca651f9177f8e7a3f6a0098cba5a810ee9deb.tar.gz spark-c36ca651f9177f8e7a3f6a0098cba5a810ee9deb.tar.bz2 spark-c36ca651f9177f8e7a3f6a0098cba5a810ee9deb.zip |
[SPARK-15351][SQL] RowEncoder should support array as the external type for ArrayType
## What changes were proposed in this pull request?
This PR improves `RowEncoder` and `MapObjects`, to support array as the external type for `ArrayType`. The idea is straightforward, we use `Object` as the external input type for `ArrayType`, and determine its type at runtime in `MapObjects`.
## How was this patch tested?
new test in `RowEncoderSuite`
Author: Wenchen Fan <wenchen@databricks.com>
Closes #13138 from cloud-fan/map-object.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions