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

Simplify remaining constant conditionals

    Details

    • Epic Color:
      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

            • Assignee:
              philip Philip Zeyliger
              Reporter:
              twmarshall Thomas Tauber-Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: