GitHub user ueshin opened a pull request:
https://github.com/apache/spark/pull/15276
[SPARK-17703][SQL] Add unnamed version of addReferenceObj for minor objects.
## What changes were proposed in this pull request?
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 was 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
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15276.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 #15276
----
commit a49fc9dcd9094ea56a0ce22191d9ba903968e99c
Author: Takuya UESHIN <[email protected]>
Date: 2016-09-28T05:05:05Z
Add unnamed version of addReferenceObj for minor objects.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]