diff options
author | Reynold Xin <rxin@databricks.com> | 2016-01-12 11:13:08 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-01-12 11:13:08 -0800 |
commit | 0ed430e315b9a409490a3604a619321b476cb520 (patch) | |
tree | c76c7c28acb95160f04d7a1e2ab05cfd36f4004a /sql/hive-thriftserver | |
parent | 508592b1bae3b2c88350ddfc1d909892f236ce5f (diff) | |
download | spark-0ed430e315b9a409490a3604a619321b476cb520.tar.gz spark-0ed430e315b9a409490a3604a619321b476cb520.tar.bz2 spark-0ed430e315b9a409490a3604a619321b476cb520.zip |
[SPARK-12768][SQL] Remove CaseKeyWhen expression
This patch removes CaseKeyWhen expression and replaces it with a factory method that generates the equivalent CaseWhen. This reduces the amount of code we'd need to maintain in the future for both code generation and optimizer.
Note that we introduced CaseKeyWhen to avoid duplicate evaluations of the key. This is no longer a problem because we now have common subexpression elimination.
Author: Reynold Xin <rxin@databricks.com>
Closes #10722 from rxin/SPARK-12768.
Diffstat (limited to 'sql/hive-thriftserver')
0 files changed, 0 insertions, 0 deletions