DB Tsai created SPARK-24892:
-------------------------------
Summary: Simplify `CaseWhen` to `If` when there is only one branch
Key: SPARK-24892
URL: https://issues.apache.org/jira/browse/SPARK-24892
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 2.3.0
Reporter: DB Tsai
After the rule of removing the unreachable branches, it could be only one
branch left. In this situation, `CaseWhen` can be converted to `If` to do
further optimization.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]