GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/19720
[SPARK-22494][SQL] Fix 64KB limit exception with Coalesce and
AtleastNNonNulls
## What changes were proposed in this pull request?
Both `Coalesce` and `AtLeastNNonNulls` can cause the 64KB limit exception
when used with a lot of arguments and/or complex expressions.
This PR splits their expressions in order to avoid the issue.
## How was this patch tested?
Added UTs
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-22494
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19720.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 #19720
----
commit f0edd7e077c84b6a890f7ed9cff2eefadf5eee33
Author: Marco Gaido <[email protected]>
Date: 2017-11-10T21:58:01Z
[SPARK-22494][SQL] Fix 64KB limit exception with Coalesce and
AtleastNNonNulls
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]