Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-33337

Support subexpression elimination in branches of conditional expressions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Currently we skip subexpression elimination in branches of conditional expressions including If, CaseWhen, and Coalesce. Actually we can do subexpression elimination for such branches if the subexpression is common across all branches.

        Attachments

          Activity

            People

            • Assignee:
              viirya L. C. Hsieh
              Reporter:
              viirya L. C. Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: