GitHub user hvanhovell opened a pull request: https://github.com/apache/spark/pull/20986
[SPARL-23864][SQL] Add unsafe object writing to UnsafeWriter ## What changes were proposed in this pull request? This PR moves writing of `UnsafeRow`, `UnsafeArrayData` & `UnsafeMapData` out of the `GenerateUnsafeProjection`/`InterpretedUnsafeProjection` classes into the `UnsafeWriter` interface. This cleans up the code a little bit, and it should also result in less byte code for the code generated path. ## How was this patch tested? Existing tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/hvanhovell/spark SPARK-23864 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20986.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 #20986 ---- commit 970232a719d2293ec872ef64c4f6fea7d8c727aa Author: Herman van Hovell <hvanhovell@...> Date: 2018-04-05T15:47:42Z Add unsafe object writing to UnsafeWriter ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org