[
https://issues.apache.org/jira/browse/CALCITE-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053102#comment-15053102
]
Jesus Camacho Rodriguez commented on CALCITE-1019:
--------------------------------------------------
This one looks good to me [~maryannxue], I should have double-checked for other
corner cases when I implemented the original method. Thanks
> 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)