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

Structurally equivalent subexpression elimination

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.0.0
    • None
    • SQL
    • None

    Description

      We do semantically equivalent subexpression elimination in SparkSQL. However, for some expressions that are not semantically equivalent, but structurally equivalent, current subexpression elimination generates too many similar functions. These functions share same computation structure but only differ in input slots of current processing row.

      For such expressions, we can generate just one function, and pass in input slots during runtime.

      It can reduce the length of generated code text, and save compilation time.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              viirya L. C. Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: