You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Philip Zeyliger (JIRA)" <ji...@apache.org> on 2017/09/18 22:32:00 UTC

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

     [ https://issues.apache.org/jira/browse/IMPALA-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philip Zeyliger resolved IMPALA-5211.
-------------------------------------
    Resolution: Fixed

Fixed in https://git-wip-us.apache.org/repos/asf?p=incubator-impala.git;a=commit;h=02302b7cfee0397a9d8080289635fb694d89f15d  and https://git-wip-us.apache.org/repos/asf?p=incubator-impala.git;a=commit;h=48539a1bbcfd2697dcd8e519b47e4e6d55a05e5c .

[~jrussell], yes this was after 2.10 for the nullif change.

> 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
>            Assignee: Philip Zeyliger
>              Labels: newbie, performance
>
> 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.4.14#64029)