Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.10.0
-
ghx-label-3
Description
A recent change (IMPALA-1861) added SimplifyConditionalsRule which simplifies some conditional functions with constant conditions (e.g. if (true, 0, 1) -> 0).
This rule currently only covers IF, OR, AND, CASE, and DECODE. We should extend it to cover further conditionals, such as COALESCE, IFNULL, IS(TRUE/FALSE), etc.