GitHub user ueshin opened a pull request: https://github.com/apache/spark/pull/15808
[SPARK-17703][SQL][BACKPORT-2.0] Add unnamed version of addReferenceObj for minor objects. ## What changes were proposed in this pull request? This is a backport of #15276. There are many minor objects in references, which are extracted to the generated class field, e.g. `errMsg` in `GetExternalRowField` or `ValidateExternalType`, but number of fields in class is limited so we should reduce the number. This pr adds unnamed version of `addReferenceObj` for these minor objects not to store the object into field but refer it from the `references` field at the time of use. ## How was this patch tested? Existing tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ueshin/apache-spark issues/SPARK-17703_2.0 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/15808.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 #15808 ---- commit 140f9298f8cef91dcc47f3187bcf3a88d1ce39d0 Author: Takuya UESHIN <ues...@happy-camper.st> Date: 2016-11-08T08:54:01Z Cherry-pick from master and modify to backport to branch-2.0. ---- --- 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