-
- Downloads
[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 Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com> Closes #13243 from kiszk/SPARK-15285.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala 26 additions, 6 deletions...ache/spark/sql/catalyst/expressions/objects/objects.scala
- sql/core/src/test/scala/org/apache/spark/sql/DataFrameComplexTypeSuite.scala 35 additions, 0 deletions...cala/org/apache/spark/sql/DataFrameComplexTypeSuite.scala
Please register or sign in to comment