GitHub user cloud-fan opened a pull request: https://github.com/apache/spark/pull/8747
[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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloud-fan/spark copy-once Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/8747.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 #8747 ---- commit d78671fa6bd2dc431bbf93b8c445431585b5db9e Author: Wenchen Fan <cloud0...@outlook.com> Date: 2015-09-14T07:57:00Z only copy data once when generate unsafe projection ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org