GitHub user kiszk opened a pull request: https://github.com/apache/spark/pull/19730
[SPARK-22500][SQL] Fix 64KB JVM bytecode limit problem with cast ## What changes were proposed in this pull request? This PR changes `cast` code generation to place generated code for expression for fields of a structure into separated methods if these size could be large. ## How was this patch tested? Added new test cases into `CastSuite` You can merge this pull request into a Git repository by running: $ git pull https://github.com/kiszk/spark SPARK-22500 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19730.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 #19730 ---- commit 90136717ca01a7fe426963fffabe3516d506382d Author: Kazuaki Ishizaki <ishiz...@jp.ibm.com> Date: 2017-11-12T19:02:53Z initial commit ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org