Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5211

Simplify remaining constant conditionals

    XMLWordPrintableJSON

Details

    • 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.

      Attachments

        Activity

          People

            philip Philip Martin
            twmarshall Thomas Tauber-Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: