GitHub user joehalliwell opened a pull request:
https://github.com/apache/spark/pull/11243
[SPARK-13242] [SQL] Fall back to interpreting complex `when` expressions
This follows @davies suggestion over on
https://github.com/apache/spark/pull/11221 but rather than hard coding a limit
on the number of branches, it does a heuristic check on the generated source
code size.
This isn't ideal, but will work well in practice and mirrors the approach
in https://github.com/apache/spark/pull/7076
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/joehalliwell/spark SPARK-13242-eval
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11243.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 #11243
----
commit 5849e451974c9168ac558ff3024987065862c4ab
Author: Joe Halliwell <[email protected]>
Date: 2016-02-09T15:36:15Z
Add test case
commit 9b5736bbdd119d039d22eb0bf27d36812118f96c
Author: Joe Halliwell <[email protected]>
Date: 2016-02-17T22:07:06Z
Fall back to interpreting complex when expressions
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]