Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2620

Simplify "coalesce(null,x)" to "x"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.18.0
    • 1.18.0
    • core
    • None

    Description

      "coalesce(x0,x1,.....)" can be simplified if any of "xi" is null literal.

      e.g.  "coalesce(null,x)" can simplify to "x", "coalesce(x,null,y)" can simplify to "coalesce(x,y)"

      Attachments

        Issue Links

          Activity

            People

              pzw2018 pengzhiwei
              pzw2018 pengzhiwei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: