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

Reorder BindParameters and ResolveIdentifierClause rules to converge to fixpoint faster

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0
    • None
    • Spark Core

    Description

      The current relative order of rules is:

      1. ResolveRelations
      2. ResolveIdentifierClause
      3. BindParameters

      These rules interact in exactly the opposite way as they are listed:

      • BindParameters always operates on leafs
      • ResolveIdentifierClause turns constant expressions (typically parameters) into UnresolvedRelations
      • ResolveRelations is needed to progress resolved identifier clauses
         
        We propose to move BindParameters and ResolveIdentifierClause up.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              srielau Serge Rielau
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: