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

EnsureRequirements adds extra Sort to already sorted cached table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.6.2
    • None
    • SQL
    • None

    Description

      EnsureRequirements compares the required and given sort ordering, but uses Scala equals instead of a semantic equals, so column capitalization isn't considered, and also fails for a cached table. This results in a SortMergeJoin of a cached already-sorted table to add an extra sort.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              MasterDDT Mitesh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: