You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2015/03/20 04:58:38 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14370672#comment-14370672 ] 

Jesus Camacho Rodriguez commented on CALCITE-632:
-------------------------------------------------

[~julianhyde], I have created a pull request for this, can you check it? Thanks

> 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
>
> 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)