diff options
author | Brian Cho <bcho@fb.com> | 2016-06-22 10:38:42 -0700 |
---|---|---|
committer | Herman van Hovell <hvanhovell@databricks.com> | 2016-06-22 10:38:42 -0700 |
commit | 0a9c02759515c41de37db6381750bc3a316c860c (patch) | |
tree | e45257d175300ab41cd1bc2ea2289de65372d6df /tools/src | |
parent | 6a6010f0015542dc2753b2cb12fdd1204db63ea6 (diff) | |
download | spark-0a9c02759515c41de37db6381750bc3a316c860c.tar.gz spark-0a9c02759515c41de37db6381750bc3a316c860c.tar.bz2 spark-0a9c02759515c41de37db6381750bc3a316c860c.zip |
[SPARK-15956][SQL] When unwrapping ORC avoid pattern matching at runtime
## What changes were proposed in this pull request?
Extend the returning of unwrapper functions from primitive types to all types.
## How was this patch tested?
The patch should pass all unit tests. Reading ORC files with non-primitive types with this change reduced the read time by ~15%.
===
The github diff is very noisy. Attaching the screenshots below for improved readability:
![screen shot 2016-06-14 at 5 33 16 pm](https://cloud.githubusercontent.com/assets/1514239/16064580/4d6f7a98-3257-11e6-9172-65e4baff948b.png)
![screen shot 2016-06-14 at 5 33 28 pm](https://cloud.githubusercontent.com/assets/1514239/16064587/5ae6c244-3257-11e6-8460-69eee70de219.png)
Author: Brian Cho <bcho@fb.com>
Closes #13676 from dafrista/improve-orc-master.
Diffstat (limited to 'tools/src')
0 files changed, 0 insertions, 0 deletions