GitHub user kiszk opened a pull request:
https://github.com/apache/spark/pull/14670
[SPARK-15285][SQL] Generated SpecificSafeProjection.apply method grows
beyond 64 KB
## What changes were proposed in this pull request?
This PR splits the generated code for ```SafeProjection.apply``` by using
```ctx.splitExpressions()```. This is because the large code body for
```NewInstance``` may grow beyond 64KB bytecode size for ```apply()``` method.
## How was this patch tested?
Added new tests by using `DefinedByConstructorParams` instead of case class
for scala-2.10
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kiszk/spark SPARK-15285-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14670.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 #14670
----
commit dcdd14ff1557ed05da4c7e511087494c2bbf85c6
Author: Kazuaki Ishizaki <[email protected]>
Date: 2016-08-16T19:01:45Z
reapply changes
use DefinedByConstructorParams instead of case class
----
---
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]