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

Move the RewriteCollationJoin rule to FinishAnalysis

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      Such conversions should be NOT considered as an optimization, but it is needed for correctness. So, we cannot run the substitutions as an optimization rule, it should be applied before any.

      We could modify RewriteCollationJoin and take into account DPP, but we might miss something else. Fxing ALL results of optimizations in RewriteCollationJoin introduces some dependencies.

      Attachments

        Issue Links

          Activity

            People

              maxgekk Max Gekk
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: