You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2017/04/17 15:26:41 UTC

[jira] [Created] (IMPALA-5211) Simplify remaining constant conditionals

Thomas Tauber-Marshall created IMPALA-5211:
----------------------------------------------

             Summary: Simplify remaining constant conditionals
                 Key: IMPALA-5211
                 URL: https://issues.apache.org/jira/browse/IMPALA-5211
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
    Affects Versions: Impala 2.10.0
            Reporter: Thomas Tauber-Marshall


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)