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