You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2015/12/11 17:51:11 UTC

[jira] [Updated] (CALCITE-1019) RelMdUtil.checkInputForCollationAndLimit() was wrong with alreadySorted check

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

Maryann Xue updated CALCITE-1019:
---------------------------------
    Attachment: CALCITE-1019.patch

> RelMdUtil.checkInputForCollationAndLimit() was wrong with alreadySorted check
> -----------------------------------------------------------------------------
>
>                 Key: CALCITE-1019
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1019
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: CALCITE-1019.patch
>
>
> The below line works incorrectly with EMPTY collation:
> {code}
>     final boolean alreadySorted = RelCollations.equal(
>         ImmutableList.of(collation), inputCollation);
> {code}



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