diff options
author | Wenchen Fan <cloud0fan@163.com> | 2015-10-05 13:00:58 -0700 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2015-10-05 13:00:58 -0700 |
commit | c4871369db96fc33c465d11b3bbd1ffeb3b94e89 (patch) | |
tree | 964bb0b38e08974f3e52ce952e89b2eed8791ead /sql/hive-thriftserver | |
parent | 883bd8fccf83aae7a2a847c9a6ca129fac86e6a3 (diff) | |
download | spark-c4871369db96fc33c465d11b3bbd1ffeb3b94e89.tar.gz spark-c4871369db96fc33c465d11b3bbd1ffeb3b94e89.tar.bz2 spark-c4871369db96fc33c465d11b3bbd1ffeb3b94e89.zip |
[SPARK-10585] [SQL] only copy data once when generate unsafe projection
This PR is a completely rewritten of GenerateUnsafeProjection, to accomplish the goal of copying data only once. The old code of GenerateUnsafeProjection is still there to reduce review difficulty.
Instead of creating unsafe conversion code for struct, array and map, we create code of writing the content to the global row buffer.
Author: Wenchen Fan <cloud0fan@163.com>
Author: Wenchen Fan <cloud0fan@outlook.com>
Closes #8747 from cloud-fan/copy-once.
Diffstat (limited to 'sql/hive-thriftserver')
0 files changed, 0 insertions, 0 deletions