diff options
author | Reynold Xin <rxin@databricks.com> | 2016-01-14 10:09:03 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-01-14 10:09:03 -0800 |
commit | 902667fd2766f0472a15851b1ed8fb5859593f97 (patch) | |
tree | 8807f6ff521c385c1b3d105b8af7080ad86216b8 /dev/run-tests.py | |
parent | 501e99ef0fbd2f2165095548fe67a3447ccbfc91 (diff) | |
download | spark-902667fd2766f0472a15851b1ed8fb5859593f97.tar.gz spark-902667fd2766f0472a15851b1ed8fb5859593f97.tar.bz2 spark-902667fd2766f0472a15851b1ed8fb5859593f97.zip |
[SPARK-12771][SQL] Simplify CaseWhen code generation
The generated code for CaseWhen uses a control variable "got" to make sure we do not evaluate more branches once a branch is true. Changing that to generate just simple "if / else" would be slightly more efficient.
This closes #10737.
Author: Reynold Xin <rxin@databricks.com>
Closes #10755 from rxin/SPARK-12771.
Diffstat (limited to 'dev/run-tests.py')
0 files changed, 0 insertions, 0 deletions