GitHub user kiszk opened a pull request:
https://github.com/apache/spark/pull/19728
[SPARK-22498][SQL] Fix 64KB JVM bytecode limit problem with concat and
concat_ws
## What changes were proposed in this pull request?
This PR changes `concat` and `concat_ws` code generation to place generated
code for expression for arguments into separated methods if these size could be
large.
This PR resolved two cases:
* `concat` with a lot of argument
* `concat_ws` with a lot of argument
## How was this patch tested?
Added new test cases into `StringExpressionsSuite`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kiszk/spark SPARK-22498
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19728.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 #19728
----
commit 16ddb2f0a2bd85917bfc8bbb5dbcc7d92d457977
Author: Kazuaki Ishizaki <[email protected]>
Date: 2017-11-12T16:58:04Z
Initial commit
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]