You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hovell (JIRA)" <ji...@apache.org> on 2016/08/30 20:23:20 UTC

[jira] [Resolved] (SPARK-16419) EnsureRequirements adds extra Sort to already sorted cached table

     [ https://issues.apache.org/jira/browse/SPARK-16419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herman van Hovell resolved SPARK-16419.
---------------------------------------
    Resolution: Duplicate

> EnsureRequirements adds extra Sort to already sorted cached table
> -----------------------------------------------------------------
>
>                 Key: SPARK-16419
>                 URL: https://issues.apache.org/jira/browse/SPARK-16419
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.2
>            Reporter: Mitesh
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org