You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/03/25 00:13:53 UTC

[jira] [Resolved] (CALCITE-632) Sort order returned by SUPERCLASS_COMPARATOR in ReflectiveRelMetadataProvider is inconsistent

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

Julian Hyde resolved CALCITE-632.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0-incubating

Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/3923ec76.

> Sort order returned by SUPERCLASS_COMPARATOR in ReflectiveRelMetadataProvider is inconsistent
> ---------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-632
>                 URL: https://issues.apache.org/jira/browse/CALCITE-632
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>             Fix For: 1.2.0-incubating
>
>
> By default, 1 is returned. However, when none of the classes is a super class of the other one, this could lead to inconsistent order as the Comparable will return the same result e.g. compare(Exchange, Sort) = 1 and compare(Sort, Exchange) = 1.



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